摘要:
def fetch(ip): url = 'http://ip.taobao.com/service/getIpInfo.php?ip=' + ip result = [] try: response = urllib.urlopen(url).read() jsondata = json.loads(response) i... 阅读全文
摘要:
import logging.handlers class Sdplog: logger = None levels = { "DEBUG" : logging.DEBUG, "INFO" : logging.INFO, "WARNING" : logging.WARNING, "ERROR" : logging.E... 阅读全文
摘要:
1 #!/usr/bin/python 2 #-*- coding:utf-8 -*- 3 ''' 4 Created on 2013-7-14 5 6 @author: Administrator 7 ''' 8 9 user_agents = [ 10 'Mozilla/5.0 (Windows 阅读全文
摘要:
1 # -*- coding: UTF-8 -*- 2 from Tkinter import * 3 from tkMessageBox import * 4 5 ip = [ 6 58,50,42,34,26,18,10,2,60,52,44,36,28,20,12,4, 7 62,54,46,38,30,22,14,6... 阅读全文
摘要:
#coding=utf-8 #识别字符序列变换算法,当前支持标准的MD5、SHA-1、Base64,及主流的URL编码、HTML编码 import re import sys #MD5判断函数 def checkMD5(inStr): MD5KeyStrs = '0123456789abcdefABCDEF' inStr = inStr.strip() #判断M... 阅读全文
摘要:
#!/usr/bin/python # This was written for educational purpose only. Use it at your own risk. # Author will be not responsible for any damage! # ####### 阅读全文