Advertisement
xi4u7

cek

Jan 16th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #!/usr/bin/python
  2. import requests
  3. ua = {"User-agent":"Mozilla"}
  4. f = open("wp.txt","r")
  5. d = open("die.txt","a")
  6. v = open("work.txt","a")
  7. while True:
  8. aa = f.readline().replace("\n","")
  9. if not aa:
  10. break
  11. try:
  12. html = requests.get(aa+"wp-admin/install.php", headers=ua).text
  13. if "Already Installed" in html:
  14. print(aa + " -> DIE")
  15. d.write(aa+"\n")
  16. else:
  17. print(aa + " -> VULN")
  18. v.write(aa+"\n")
  19. except Exception as err:
  20. print(str(err))
  21. continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement