摘要: 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... 阅读全文
posted @ 2016-08-22 10:45 Jimny 阅读(1321) 评论(0) 推荐(0) 编辑
摘要: import logging.handlers class Sdplog: logger = None levels = { "DEBUG" : logging.DEBUG, "INFO" : logging.INFO, "WARNING" : logging.WARNING, "ERROR" : logging.E... 阅读全文
posted @ 2016-08-22 10:43 Jimny 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2016-08-22 10:41 Jimny 阅读(4952) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2016-08-22 10:17 Jimny 阅读(1176) 评论(0) 推荐(0) 编辑
摘要: #coding=utf-8 #识别字符序列变换算法,当前支持标准的MD5、SHA-1、Base64,及主流的URL编码、HTML编码 import re import sys #MD5判断函数 def checkMD5(inStr): MD5KeyStrs = '0123456789abcdefABCDEF' inStr = inStr.strip() #判断M... 阅读全文
posted @ 2016-08-22 10:08 Jimny 阅读(1601) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # This was written for educational purpose only. Use it at your own risk. # Author will be not responsible for any damage! # ####### 阅读全文
posted @ 2016-08-22 09:55 Jimny 阅读(1261) 评论(0) 推荐(0) 编辑