批量检测url存活

[codesyntax lang=”python”] import requests import re import urllib3 urllib3.disable_warnings() i=0 file = open (r”./1.txt”) for eachLine in file: eachLine=eachLine.rstrip(‘\n\r’) try: i=i+1 print i res = requests.get(eachLine+”uri”,verify=False,timeout=5) hehe=res.text status=ur’SUCCESS’ ip=re.findall(status,hehe) if ip: vul=requests.get(eachLine+”uri”,verify=False,timeout=5) money=vul […]

查看全部


ctrl+c/v 系列代码

用来dump内存数据后,查找关键信息 while true;do command;sleep 2;done [codesyntax lang=”php”] # _*_coding:utf-8 _*_ import sys import re reload(sys) sys.setdefaultencoding(‘utf8′) def numberChange(path): f = open(path,’r’) s = f.read() for i in [“utf8″,”gb2312”]: try: data = s.decode(i) break except: pass number = re.compile(ur'(TOKEN=[a-zA-Z0-9]{32})’) pattern = re.compile(number) all = pattern.finda […]

查看全部