Jul 24, 2008

Php Msn Bot Does Not Work Right

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Php Msn Bot Does Not Work Right

Arne-Christian
First of all the debug log
CODE
########################################
##....FreakBot @ Hotmail.com MSN BOT..##
##.........By El Diablo : Version 1.0.##
########################################
[12:04:39] Client:> VER 1 MSNP9 CVR0
[12:04:42] Server:> VER 1 MSNP9 CVR0
[12:04:42] Client:> CVR 2 0x0409 win 4.10 i386 MSNMSGR 7.0.0816 MSMSGS fr3akb0t@hotmail.com
[12:04:48] Server:> CVR 2 7.0.0816 7.0.0816 7.0.0777 http://msgr.dlservice.microsoft.com/downlo...essenger_DL.exe http://messenger.msn.com
[12:04:48] Client:> USR 3 TWN I fr3akb0t@hotmail.com
[12:04:48] Server:> XFR 3 NS 207.46.107.61:1863 0 207.46.96.153:1863
[12:04:49] Client:> VER 1 MSNP9 CVR0
[12:04:49] Server:> VER 1 MSNP9 CVR0
[12:04:49] Client:> CVR 2 0x0409 win 4.10 i386 MSNMSGR 7.0.0816 MSMSGS fr3akb0t@hotmail.com
[12:04:49] Server:> CVR 2 7.0.0816 7.0.0816 7.0.0777 http://msgr.dlservice.microsoft.com/downlo...essenger_DL.exe http://messenger.msn.com
[12:04:49] Client:> USR 3 TWN I fr3akb0t@hotmail.com
[12:04:49] Server:> USR 3 TWN S lc=1033,id=507,tw=40,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1177927779,kpp=1,kv=9,ver=2.1.6000.1,rn=TGL0fL9u,tpf=6950107c33007c25ed
93e5c61f6148d3
[12:04:09] Client:> USR 4 TWN S t=93CIaFIoNFad5PHMPzapsP4aUCaMjCjhwdD5A3!fnPbpNtSMN2wvzDzwffqW9ryq02DN5mYeoDYVZSjuoHIjpwcfWbLGLbbrjYJCbj2rjnllEWZACo7
zkibXYBcm7p2zEt&p=9D2b4Uup9CDJkNhVrQU8!cugiIb6r2kWaTw2pKSPW299rQ39qvORuw60HQuxl7pDUQSvB8kXLb4WA0t6xHnstJ6x0qRPQZlqR
NnwW1lzetqmqM6J*wfRjN9P8eNspRCjWC53ENPracIpWSnvdWyJ1BgIV1QPPRN4wb4woylljjkBUHMji
eJmXECt!!7HVlfvUjkEaD0azzSpFxqEeL9!1pJc6yiby5mQiFqCGEK6YnJxU$
[12:04:09] Server:> USR 4 OK fr3akb0t@hotmail.com Freaky%20Bot 1 0
[12:04:09] Client:> SYN 5 0
[12:04:09] Client:> PNG
[12:04:09] Client:> CHG 7 NLN
[12:04:09] Client:> PNG
[12:04:09] Server:> MSG Hotmail Hotmail 499
[12:04:09] Server:> (anti-spam-(anti-spam-mime-version:)) 1.0
[12:04:09] Server:> (anti-spam-(anti-spam-content-type:)) text/x-msmsgsprofile; charset=UTF-8
[12:04:09] Server:> LoginTime: 1177927798
[12:04:09] Server:> EmailEnabled: 1
[12:04:09] Server:> MemberIdHigh: 409600
[12:04:09] Server:> MemberIdLow: -1784898242
[12:04:09] Server:> lang_preference: 1044
[12:04:09] Server:> preferredEmail:
[12:04:09] Server:> country: NO
[12:04:09] Server:> PostalCode:
[12:04:09] Server:> Gender:
[12:04:09] Server:> Kid: 0
[12:04:09] Server:> Age:
[12:04:09] Server:> BDayPre:
[12:04:09] Server:> Birthday:
[12:04:09] Server:> Wallet:
[12:04:09] Server:> Flags: 1073742915
[12:04:09] Server:> sid: 507
[12:04:09] Server:> MSPAuth: 93CIaFIoNFad5PHMPzapsP4aUCaMjCjhwdD5A3!fnPbpNtSMN2wvzDzwffqW9ryq02DN5mYeoDYVZSjuoHIjpwcfWbLGLbbrjYJCbj2rjnllEWZACo7
zkibXYBcm7p2zEt
[12:04:09] Server:> ClientIP: 83.109.12.87
[12:04:09] Server:> ClientPort: 49928
[12:04:09] Server:>
[12:04:09] Server:> SYN 5 1 4 1
[12:04:09] Server:> GTC A
[12:04:09] Server:> BLP BL
[12:04:09] Server:> PRP MBE N
[12:04:09] Server:> PRP WWE 0
[12:04:09] Server:> LSG 0 Individuals 0
[12:04:09] Server:> LST martin.jurassic@hotmail.com martin.jurassic@hotmail.com 11 0
[12:04:09] Server:> LST arne_christian_b@hotmail.com arne_christian_b@hotmail.com 11 0
[12:04:09] Server:> BPR MOB Y
[12:04:09] Server:> LST admin@woopassmedia.com Oscar%20Charlie 11 0
[12:04:09] Server:> LST admin@rune-empire.com [c=29]αsнℓєу[/c=46] 11 0
[12:04:10] Server:> QNG 42
[12:04:10] Server:> QNG 44
[12:04:10] Server:> CHG 7 NLN 0
[12:04:10] Server:> MSG Hotmail Hotmail 219
[12:04:10] Server:> (anti-spam-(anti-spam-mime-version:)) 1.0
[12:04:10] Server:> (anti-spam-(anti-spam-content-type:)) text/x-msmsgsinitialemailnotification; charset=UTF-8
[12:04:10] Server:>
[12:04:10] Server:> Inbox-Unread: 1
[12:04:10] Server:> Folders-Unread: 0
[12:04:10] Server:> Inbox-URL: /cgi-bin/HoTMaiL
[12:04:10] Server:> Folders-URL: /cgi-bin/folders
[12:04:10] Server:> Post-URL: http://www.hotmail.com
[12:04:10] Server:> ILN 7 IDL arne_christian_b@hotmail.com -(6)-%20El%20Diablo%20-(6)-%20(*)(*) 1616760940 %3Cmsnobj%20Creator%3D%22arne_christian_b%40hotmail.com%22%20Size%3D%229127%22%20Type%3D%223%22%20Location%3D%22TFR91.dat%22%20Friendly%3D%22AAA%3D%22%20SHA1D%3D%22I5DvQa7K26k%2BgFVz7u4vwkZqUhM%3D%22%20SHA1C%3D%22%2Ft%2BpneCbbb2P5AK3695Wkd%2BfFOM%3D%22%2F%3E
[12:04:14] Server:> RNG 586169493 65.54.171.19:1863 CKI 151179249.12592201 arne_christian_b@hotmail.com -(6)-%20El%20Diablo%20-(6)-%20(*)(*)
[12:04:14] Client:> ANS 1 fr3akb0t@hotmail.com 151179249.12592201 586169493
[12:04:14] Server:> IRO 1 1 1 arne_christian_b@hotmail.com -(6)-%20El%20Diablo%20-(6)-%20(*)(*)
[12:04:14] Server:> ANS 1 OK
[12:04:15] Server:> MSG arne_christian_b@hotmail.com -(6)-%20El%20Diablo%20-(6)-%20(*)(*) 101
[12:04:15] Server:> (anti-spam-(anti-spam-mime-version:)) 1.0 (anti-spam-(anti-spam-content-type:)) text/x-msmsgscontrol TypingUser: arne_christian_b@hotmail.com
[12:04:15] Server:> MSG arne_christian_b@hotmail.com -(6)-%20El%20Diablo%20-(6)-%20(*)(*) 118
[12:04:15] Server:> (anti-spam-(anti-spam-mime-version:)) 1.0 (anti-spam-(anti-spam-content-type:)) text/plain; charset=UTF-8 X-MMS-IM-Format: FN=Arial; EF=B; CO=ff; CS=0; PF=22 Hey
[12:04:15] Client:> MSG 20 N 265 (anti-spam-(anti-spam-mime-version:)) 1.0 (anti-spam-(anti-spam-content-type:)) text/plain; charset=UTF-8 X-MMS-IM-Format: FN=Arial; EF=; CO=333333; CS=0; PF=22 Hey


I can send messages to it in 20-40 seconds then the bot logs out with any other messages in the debug log

Then the main key, the source code:
msnp9.class.php
CODE
<?php

/**************************************************
| MSN Protocol Class for Freakbot |
**************************************************/
class msn
{
// messenger.hotmail.com is an exchange server
// using it will redirect to a server with an open slot
// using a known server ip will help connect faster

// commenting out $ssh_login will mean the url to the
// secure login server will be taken from a secure
// session. this will slow down connecting a bit.
// Note: comment out $ssh_login if you experience auth failures

var $server = 'messenger.hotmail.com';
var $port = 1863;

var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';

var $debug = 1;


// curl is used for the secure login, if you don't have
// the php_curl library installed, you can use a curl binary
// instead. $use_curl needs to be set to 1 to enable this.
// set $curl to the path where curl is installed.
// curl can be downloaded here: http://curl.haxx.se/download.html

var $curl_bin = 1;
//var $curl = '/usr/local/bin/curl'; // linux
var $curl = 'c:curlcurl.exe'; // windows




/**
*
* desc : Connect to MSN Messenger Network
*
* in : $passport = passport i.e: user@hotmail.com
* $password = password for passport
*
* out : true on success else return false
*
*/

function connect($passport, $password)
{
$this->trID = 1;

if ($this->fp = @fsockopen($this->server, $this->port, $errno, $errstr, 2))
{
$this->_put("VER $this->trID MSNP9 CVR0rn");

while (! feof($this->fp))
{
$data = $this->_get();

switch ($code = substr($data, 0, 3))
{
default:
echo $this->_get_error($code);

return false;
break;
case 'VER':
$this->_put("CVR $this->trID 0x0409 win 4.10 i386 MSNMSGR 7.0.0816 MSMSGS $passportrn");
break;
case 'CVR':
$this->_put("USR $this->trID TWN I $passportrn");
break;
case 'XFR':
list(, , , $ip) = explode (' ', $data);
list($ip, $port) = explode (':', $ip);

if ($this->fp = @fsockopen($ip, $port, $errno, $errstr, 2))
{
$this->trID = 1;

$this->_put("VER $this->trID MSNP9 CVR0rn");
}
else
{
if (! empty($this->debug)) echo 'Unable to connect to msn server (transfer)';

return false;
}
break;
case 'USR':
if (isset($this->authed))
{
return true;
}
else
{
$this->passport = $passport;
$this->password = urlencode($password);

list(,,,, $code) = explode(' ', trim($data));

if ($auth = $this->_ssl_auth($code))
{
$this->_put("USR $this->trID TWN S $authrn");

$this->authed = 1;
}
else
{
if (! empty($this->debug)) echo 'auth failed';

return false;
}
}
break;
}
}
}
else
{
if (! empty($this->debug)) echo 'Unable to connect to msn server';

return false;
}
}


function rx_data()
{
$this->_put("SYN $this->trID 0rn");
$this->_put("PNGrn");
$this->_put("CHG $this->trID NLNrn");
$this->_put("PNGrn");
$this->current_time = time();
while (! feof($this->fp))
{
$xrk = time();
if($xrk == $this->current_time+10) {
$this->_put("PNGrn");
$this->current_time = time();
}
$data = $this->_get();

if ($data)
{
//echo $data.'<br />';

switch($code = substr($data, 0, 3))
{
default:
// uncommenting this line here would probably give a load of "error code not found" messages.
//echo $this->_get_error($code);
break;
case 'LST':
$bits = explode (' ', trim($data));
if($bits[3] == 8) {
$this->_put("ADD $this->trID AL $bits[1] $bits[2]rn");
}
break;
case 'CHL':
$bits = explode (' ', trim($data));

$return = md5($bits[2].'Q1P7W2E4J9R8U3S5');
$this->_put("QRY $this->trID msmsgs@msnmsgr.com 32rn$return");
break;
case 'RNG':
// someone's trying to talk to us
list(, $sid, $server, , $as, $email, $name) = explode(' ', $data);
list($sb_ip, $sb_port) = explode(':', $server);


$sbsess = new switchboard;

if ($sbsess->auth($sb_ip, $sb_port, $this->passport, $sid, $as))
{
// sb session opened
// recieve users message
$x = 0;
while($x !== 5000251) { // Here all the messages is, here you add or delete
if ($msg = $sbsess->rx_im())
{
$msg = strtolower($msg);
if (preg_match('/*BLEEP*(.*?)$/i', $msg)) {
$sbsess->tx_im($this->fp, "O *BLEEP* you too!", $this->passport, $email);
}
elseif(preg_match('/hi(.*?)$|hello(.*?)$|howdy(.*?)$|w(.[azz].*?)$|hey(.*?)$|sup(.*?)$/i', $msg)) {
$name = str_replace("%20"," ",$name);
$name = str_replace("/r","",$name);
$name = str_replace("/n","",$name);
$sbsess->tx_im($this->fp, "Good day $name, if your a *BLEEP*tard press 1, if your planing to kill somebody press 2, if you think i am a *BLEEP*tard press 3",$this->passport, $email);
}
elseif(preg_match('/date|time/i', $msg)) {
$this->xtimes = date("h:m:s");
$sbsess->tx_im($this->fp,"The time is: $this->xtimes (GMT+1)...*BLEEP*",$this->passport,$email);
}
elseif($msg == "exit") {
$sbsess->tx_im($this->fp, "Freakbot recived command: exit", $this->passport, $email);
echo "<div class="msg">FreakyBot recived Exit signal from $name</div>/n";
$sbsess->im_close();
}
else {
// send the message straight back!
$rnd = rand(0,25);
if($rnd == 0) { $sbsess->tx_im($this->fp, "Go *BLEEP* a duck!", $this->passport, $email); }
if($rnd == 1) { $sbsess->tx_im($this->fp, "*BLEEP* your mother!", $this->passport, $email); }
if($rnd == 2) { $sbsess->tx_im($this->fp, "Your a *BLEEP*ing buthole", $this->passport, $email); }
if($rnd == 3) { $sbsess->tx_im($this->fp, "Ever seen a duck *BLEEP*ing a lion? Its not a prety watch!", $this->passport, $email); }
if($rnd == 4) { $sbsess->tx_im($this->fp, "*BLEEP* a horse will you?!", $this->passport, $email); }
}
}
else
{
echo 'No message was received from user.';
}
# $x++;
} // While end
}
else
{
echo 'Unable to authenticate with switchboard.';
}
break;
}
}
}
}


/*====================================*
Various private functions
*====================================*/

function _ssl_auth($auth_string)
{
// Den er ikke empty doh
if (empty($this->ssh_login))
{
if ($this->curl_bin)
{
exec("$this->curl -m 60 -LkI $this->nexus", $header);
$header = implode($header, null);
}
else
{
$ch = curl_init($this->nexus);

curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_NOBODY, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_TIMEOUT, 2);

$header = curl_exec($ch);

curl_close($ch);
}

preg_match ('/DALogin=(.*?),/', $header, $out);

if (isset($out[1]))
{
$slogin = $out[1];
}
else
{
return false;
}
}
else
{
$slogin = $this->ssh_login;
}


if ($this->curl_bin)
{
$header1 = '"Authorization: Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom,sign-in='.$this->passport.',pwd='.$this->password.','.$auth_string.'"';

exec("$this->curl -m 60 -LkI -H $header1 https://$slogin", $auth_string);

$header = null;

foreach ($auth_string as $key => $value)
{
if (strstr($value, 'Unauthorized'))
{
echo 'Unauthorised';
return false;
}
elseif (strstr($value, 'Authentication-Info'))
{
$header = $value;
}
}
}
else
{
$ch = curl_init('https://'.$slogin);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Authorization: Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom,sign-in='.$this->passport.',pwd='.$this->password.','.$auth_string,
'Host: login.passport.com'
));

curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_NOBODY, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_TIMEOUT, 2);

$header = curl_exec($ch);

curl_close($ch);
}

preg_match ("/from-PP='(.*?)'/", $header, $out);

return (isset($out[1])) ? $out[1] : false;
}

// Reciving <<<
function _get()
{
if ($data = @fgets($this->fp, 4096))
{
$this->timex = date("h:m:s");
if ($this->debug) echo "<div class="r"><b>[{$this->timex}] Server</b>:> $data</div>n";

return $data;
}
else
{
return false;
}
}

// Sending
function _put($data)
{
fwrite($this->fp, $data);
$this->timex = date("h:m:s");
$this->trID++;
if ($this->debug) echo "<div class="g"><b>[{$this->timex}] Client</b>:> $data</div>";
}


function _get_error($code)
{
switch ($code)
{
case 201:
return 'Error: 201 Invalid parameter';
break;
case 217:
return 'Error: 217 Principal not on-line';
break;
case 500:
return 'Error: 500 Internal server error';
break;
case 540:
return 'Error: 540 Challenge response failed';
break;
case 601:
return 'Error: 601 Server is unavailable';
break;
case 710:
return 'Error: 710 Bad CVR parameters sent';
break;
case 713:
return 'Error: 713 Calling too rapidly';
break;
case 731:
return 'Error: 731 Not expected';
break;
case 800:
return 'Error: 800 Changing too rapidly';
break;
case 910:
case 921:
return 'Error: 910/921 Server too busy';
break;
case 911:
return 'Error: 911 Authentication failed';
break;
case 923:
return 'Error: 923 Kids Passport without parental consent';
break;
case 928:
return 'Error: 928 Bad ticket';
break;
default:
return 'Error code '.$code.' not found';
break;
}
}

}


?>

msn_sb.class.php
CODE
<?php
/**************************************************
| MSN Protocol Class for Freakbot |
**************************************************/
class switchboard
{
// font colours/styles
var $font_fn = 'Arial';
var $font_co = '333333';
var $font_ef = '';


// other
var $debug = 1;
var $trID = 1;
var $email = '';


function switchboard()
{
$this->session_start_time = time();
}


/**
*
* desc : send IM message
*
* in : $ns = notification server connection
* $msg = message to send
* $passport = current logged in user
* $email = user to send message to
*
* out : true on success else return false
*
*/

function tx_im($ns, $msg, $passport, $email)
{
$message = "(anti-spam-(anti-spam-mime-version:)) 1.0rn(anti-spam-(anti-spam-content-type:)) text/plain; charset=UTF-8rnX-MMS-IM-Format: FN=$this->font_fn; EF=$this->font_ef; CO=$this->font_co; CS=0; PF=22rnrn$msg";
$message = "MSG 20 N ".strlen($message)."rn$message";

if (@is_resource($this->sb))
{
// switchboard session already open
$this->_put($message);

return true;
}
else
{
// open switchboard session through NS
fputs($ns, "XFR $this->trID SBrn");


$ns_data = fgets($ns, 4096);

@list($xfr,,, $server,, $as) = explode(' ', $ns_data);

if ($xfr != 'XFR')
{
echo 'unable to read NS info. last message: ';
echo $ns_data;

return false;
}



list($server, $port) = explode(':', $server);

if ($this->sb = @fsockopen($server, $port, $errno, $errstr, 5))
{
$this->_put("USR $this->trID $passport $asrn");
$this->_get();

if (is_array($email))
{
foreach($email as $key => $value)
{
$this->_put("CAL $this->trID $valuern");

if (strstr($this->_get(), 'CAL'))
{
$this->_get(); // should be JOI...
}
}
}
else
{
$this->_put("CAL $this->trID $emailrn");

if (strstr($this->_get(), 'CAL'))
{
$this->_get(); // should be JOI...
}
}



$this->_put($message);
$this->timex = date("h:m:s:");
if($this->debug) echo "<div class="msg"><b>[{$this->timex}] Message</b>:> $msg</div>n";

return true;
}
}

return false;
}


/**
*
* desc : recieve an IM from the switchboard
*
* in : none
* out : a. null on fail/no message
* b. message string
*
*/

function rx_im()
{
$message = null;
$msglen = null;

stream_set_timeout($this->sb, 1);

while (!feof($this->sb))
{
$data = ($msglen) ? $this->_get($msglen) : $this->_get();


switch (substr($data, 0, 3))
{
default:
//if (empty($msglen)) continue;

$message.= $data;

if (strlen($message) >= $msglen && !empty($msglen))
{
$mesg = explode("n", trim($message));

$last = end($mesg);


//if (@substr($last, 0, 10) != 'TypingUser')
if (!strstr($message, 'TypingUser'))
{
// this isn't a notification that the user is typing a message
return $last;
}


$msglen = null;
$message = null;
}
/*
if ($this->session_start_time + 10 < time())
{
// looks like we've been idle for a while
echo 'IM timed out';
$this->im_close();
return null;
}
*/
break;
case 'MSG':
list(,,, $msglen) = explode (' ', $data);
break;
case 'BYE':
return null;
break;
}
}

return null;
}


/**
*
* desc : authorise with switchboard from an IM invitation
*
* in : $server = switchboard server ip
* $port = switchboard server port
* $passport = logged in users passport email
* $sID = session id
* $as = auth string
*
* out : true on success else return false
*
*/

function auth($server, $port, $passport, $sID, $as)
{
if ($this->sb = @fsockopen($server, $port, $errno, $errstr, 5))
{
$this->_put("ANS $this->trID $passport $as $sIDrn");

if (!$this->rx_iro()) return false;

return true;
}

return false;
}


/**
*
* desc : recieve IRO commands from IM session
*
* in : none
* out : true on success else return false
*
*/

function rx_iro()
{
if ($data = $this->_get())
{
@list($iro, , $cur_num, $tot, $email, $name) = explode(' ', $data);

$sbsess->email = $email;

if ($iro != 'IRO')
{
echo "** BAD data in rx_iro(): see line above **n";
return false;
}

// recieve names/list of others connected
for ($i=1; $i<$tot; $i++)
{
if (!$data = $this->_get())
{
echo "** BAD data in rx_iro(): see line above **n";
return false;
}

}

@list($ans) = explode(' ', $this->_get());

if ($ans != 'ANS') return false;

return true;
}

return false;
}


/**
*
* desc : close switchboard connection
*
* in : none
* out : none
*
*/

function im_close()
{
$this->_put("OUTrn");
@fclose($this->sb);
}


/*====================================*
Various private functions
*====================================*/

function _get($use_fread=0)
{
$data = ($use_fread) ? @fread($this->sb, $use_fread) : @fgets($this->sb, 4096);

if ($data)
{
$this->timex = date("h:m:s");
if ($this->debug) echo "<div class="r"><b>[{$this->timex}] Server</b>:> $data</div>n";
return $data;
}
else
{
return false;
}
}

function _put($data)
{
@fputs($this->sb, $data);
$this->trID++;
$this->timex = date("h:m:s");
if ($this->debug) echo "<div class="g"><b>[{$this->timex}] Client</b>:> $data</div>n";
}
}

?>

then the execute program (start.php)
CODE
<?php
ob_implicit_flush();
ERROR_REPORTING(E_ALL);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>FreakBot</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
&lt;script type="text/javascript"></script>
<style type="text/css" media="screen" title="default">
body {
font: 76%/1.4 tahoma, verdana, arial, helvetica, sans-serif;
}
.r {
color: red;
}
.g {
color: green;
}
.b {
color: black;
font-family: "Courier New";
}
.msg{
color: #0099CC;
font: 76%/1.4 Verdana, Arial, Helvetica, sans-serif;
}
</style>
</head>
<body>


<div class="b">########################################</div>
<div class="b">##....FreakBot @ Hotmail.com MSN BOT..##</div>
<div class="b">##.........By El Diablo : Version 1.0.##</div>
<div class="b">########################################</div>
<?php


include('msnp9.class.php');
include('msn_sb.class.php');

$msn = new msn;

if ($msn->connect('fr3akb0t@hotmail.com', 'xfxas'))
{
// we're connected
// run rx_data function to 'idle' on the network
// rx_state will loop until the connection is dropped

$msn->rx_data();
echo '<p>Connection dropped</p>';
}
else
{
// wrong username and password?
echo '<p>Error Connecting to the MSN Network</p>';
}


?>



</body>
</html>


Thanks for all help biggrin.gif

 

 

 


Reply

Blessed
where thit you get this script from
what can do whit it ? biggrin.gifbiggrin.gif

i like new thingss biggrin.gifbiggrin.gif

Reply

iGuest
Am trying to send a message with this code it doesn't work can anybody give me the right code please ..

Case'ILN':
$sbsess = new switchboard;
$sbsess->tx_im($this->fp, $msg, $this->passport, $email);

Please its urgent

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. www.hotmail.com sign in curl php - 10.34 hr back. (1)
  2. error: invalid parameter msn phone - 16.08 hr back. (1)
  3. linuxdc line break in text - 17.35 hr back. (1)
  4. md5 php rcon - 23.01 hr back. (1)
  5. msn email does not work - 24.00 hr back. (1)
  6. windows xp does not bot - 24.64 hr back. (1)
  7. msn php class - 30.88 hr back. (1)
  8. php msn tx_im - 46.92 hr back. (1)
  9. "ext.get" does not work - 72.37 hr back. (1)
  10. samp bot spam - 77.18 hr back. (5)
  11. msnp9.class - 78.09 hr back. (1)
  12. what does [c=29] mean on msn - 86.43 hr back. (1)
  13. msn 9 protocol php class add user - 100.50 hr back. (1)
  14. "notification server connection" msn - 106.09 hr back. (1)
Similar Topics

Keywords : php, msn, bot, work

  1. Mailserver Fails To Work
    (1)
  2. Why Doesn't This Code Work On Computinghost?
    (2)
    Here is the script: Rcon Connection Client IP: Port: Password Cmd:
    $ip = $_POST ; if (!$ip) die(); $port = $_POST ; if
    (!$port) die(); $pass = $_POST ; if (!$pass) die(); $passlen =
    strlen($pass); $cmd = $_POST ; if (!$cmd) die(); $cmdlen =
    strlen($cmd); $packet = 'SAMP'; $packet .= chr(strtok($ip,
    '.')).chr(strtok('.')).chr(strtok('.')).chr(strtok('.'));
    $packet .= ch....
  3. User Name
    blimey this is the hardest work ever (0)
    Hi, I knew nothing about chaos until I signed up (and paid for my web space Order #2486 >
    Invoice #6589) with you and I drive in London for a living ... 8 hours after sign up and still
    don't know whether my User name and password work on cPanel or anywhere on this site for that
    matter. I would suggest that the admin send out an introductory eMail on sign up with all our info
    and put a sticky on at the start page of the forum containing standard info for all users. Like FTP
    eMail and cPanel settings. The other thing that's fascinating is the 3 domains us....
  4. Amazing Software
    I found this amazing software, if you work with flash.. (0)
    If you work with flash, this is the coolest software i seen.. You can make amazing things for the
    desktop.. check it out.. www.swfmagician.com ....
  5. Advice On A Girl From Work.
    (9)
    So there's this girl at work, we'll call her Shaniqua. I work relatively close to Shaniqua
    several days a week. We've become pretty good friends and hang out once in a while. We text/chat
    all the time, etc. The problem is Shaniqua is drop dead gorgeous. I mean like a perfect 10 model.
    I'm not a bad looking guy by any means, but I'm not Patrick Dempsey either. She's
    constantly getting hit on/asked out by other guys from school (university) and work and she always
    turns them down straight away (granted they're usually annoying or prodding too mu....
  6. Make Older Add-ons Work With Firefox 3.0
    (1)
    I found this trick today, and there is a big warning because of what it will do and that it my crash
    your browser. I haven't tried this hack out yet, but I let someone else be my guinea pig for
    that /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" /> QUOTE
    I can't repeat this enough. DO NOT TRY THIS unless you are comfortable editing the advanced
    preferences of your browser. And don't do anything until you've read through this entire
    post. Don't say I didn't warn you. In my experience, extensions that work....
  7. Joomla 1.5.2 Broken Link?
    Add New User won't work (3)
    So I wiped the whole slate clean and noticed they've got 1.5.2 now, so I installed it. When I
    went to add another admin under the user manager menu, it did nothing when I clicked on "NEW" in the
    upper right. This link is broken or something else is wrong here. I need to be able to add other
    admins to get this thing off and running... Someone help me please... Admin??? Edit: I've come
    to the conclusion that the software that's on the server is bad. Could you, Shree, or someone
    over at Xisto please download a new copy of 1.5.2 to replace the one that's the....
  8. Work Out My Name - Win 10 Forum Credits
    (11)
    WORK OUT MY NAME WIN 10 Credits How to do it Simply go to this site
    http://www.n4w.co.uk and use the info there as well as what you already know about me to work it
    out Rules You must give a suitable reason for your answer and it must not be a guess.
    You must not ask what my name on the forums or shoutbox of the supplied website Whoever does this
    wins 10 credits... easy. WELL DONE RVALKASS FOR WINNING Also Well Done KansukeKojima Just
    missed your chance!!! edit:You Get the Credits Thx to a Generous Rvalka....
  9. How Much Is My Electric Heater Costing Me?
    Help me work out how much it cost me to run (3)
    I don't the specs of my electric heater right now or how much my power company charges per what
    ever units of electricity I use but could someone list for me what things I need to know and the
    formula to be able to work out how much it cost me to run my heater per hour? ....
  10. About Aromatherapy
    What is it and how does it work? (0)
    So what is aromatherapy? It is the holisitc treatment of caring for the body with botanical
    scents. When I say holistic, I refer to a type of treatment that does not just treat the symptom (ow
    I have a headache as example). In holistic treatments aromatherapy may walk hand in hand with diet
    and stress management ( for the example as treatment of the headache). This is to balance out the
    entire mind, body and spirit instead of just slapping a bandaid over the symptom to get rid of it.
    Anyways.....we have the capability to distinguish 10,000 different types of smells....
  11. Frustration At Work -.-
    (3)
    I love my job. It is just plain awesome. I love coming in the days I do and being greeted by
    everyone when I come in, and being good friends with all my coworkers, or so I thought. Today I had
    two different people come up to me and basically tell me that I was arrogant, rude, and conceded to
    some of our smarter and more experienced employees. Now I personally have no recollection of ever
    being rude to them but I am very depressed that I come off that way. I always thought that they
    considered me as a friend but now I feel as if they think I am just an annoying know-....
  12. What Is Network Marketing And How Does It Work?
    Global Domains International (0)
    Start A LUCRATIVE Online Business That Generates a Passive, Residual Income Every Month on
    Autopilot From The Job You Do Just ONCE ! That is the catchline... Network marketing is
    basically where if you recruit someone, they recruit tons more people virally in a
    endless-spiralling loop of recruiting more and more people. For example, I recruited 10 people for
    this GDI thing (http://www.viralurl.com/Gnarfard/GDI), and the system costs $10/month. This
    means as long as all the people I signed up stay signed up I never lose or gain money. EXCEPT that
    the peo....
  13. Isync On Tiger To Work With A Samsung D520
    (3)
    Hey out there! Does anyone know where i can get either an isync plugin or a program (for mac os
    tiger) that will let me sync contacts with a samsung d520 via bluetooth? Preferably free or
    shareware. Im 17 and don't have a credit card /sad.gif" style="vertical-align:middle"
    emoid=":(" border="0" alt="sad.gif" />....
  14. Taking Phone Calls At Work
    (1)
    A potential client's first contact with the company is usually through the phone, so it is
    important that you make it a pleasant experience for him. Important phone etiquettes to bear in
    mind: When answering the phone, identify your company, department and state your name immediately
    name e.g. This is from the of . When talking to customers, call them by name. By repeating the
    name, you are more likely to remember it the next time. It also sounds more personalized and
    friendly. Know how you sound like to others. You can find this out by recording your voice.....
  15. Hair Growing Pill - Does It Really Work?
    Did You Know!(and Can You Explain) (2)
    Well yesterday i was walking down the street and i saw this guy selling something so i wondered what
    is it and i saw his selling hair growing pill so i didn't believe but guess what it really wort
    it make you sweat at your head and make ur hair that inside come out with it i know because he tried
    it on me i wonder how does this work what do the pills do?....
  16. How Do A 3 Monitor Comp Work
    i have seen in a video somewhere (5)
    how do it work? one monitor is in word, the other in a dictionary program, and the last in the
    internet. do you need something to do this one? i know my comp has two monitor ports but my video
    card can only use 2. do you need special things to this one? ill post the video/pic of this one if
    i found it again.....
  17. Database With Mysql++
    getting mySQL++ to work with trap17 (7)
    Hi, I'm trying to build an online game and figured the easiest way to do the server list would
    be to make a mySQL database for it; however, I use the con() command on the IP i get from pinging my
    website and I always get an abnormal program termination; however, it will work with the mySQL on my
    own machine. The code is below: CODE #include <iostream> #include <iomanip>
    #include <mysql++> #include "pass.h"//holds my password (i program at
    school) int main(void) {     Connection con("t3jem3_test","....
  18. Ie 7 Issue With Ajax
    Some ajax calls dont seem to work (2)
    function reload_char() { race_id = Ext.get('race').dom.value; gender =
    Ext.get('race_gender').dom.value; face = Ext.get('race_face').dom.value; hair_id =
    Ext.get('race_hair').dom.value; // race race_letter =
    Array('H','E','T','M','G'); race = race_letter ; /*
    //gender if(race == 'G' || race == 'M') { gender = ''; } //hair
    if(hair_id == 1) { hair = 'a'; } else { hair = 'b'; } image =
    '80px-'+race+gender+face+hair+&....
  19. Does Pro Active Work ?
    prevent acne (8)
    Does pro active really work ? im curious coz i want to buy it /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  20. Ctrl + C Will Not Work
    Windows Xp Pro SP2 (17)
    I recently built a computer, everything seems to be alright with it, except one thing, CTRL + C just
    won't work. I'm running a Windows Windows Xp Pro SP2, and Ctrl + X and Ctrl + V work fine.
    I mean, I could probably just cut and paste anything I want to copy but it seems like such a hassle.
    Has anyone came across this problem before? Or know how to fix it?....
  21. Evilboard (forum Software) - Multiple Categorys - Don't Work :(
    I am creating a forum and i can't fix more then 1 category. (6)
    I am at the moment trying to program my own forum, but i need more then a single category, here is
    my source: CODE function cat () { include("functions/functions.php");
    echo '<table width="100%"  border="0" cellspacing="0">
    <tr> <td class="eb_top" colspan="3" style="border-bottom-width:
    0; height: 30px; font-size: 12px;"> <b>Forum</b></td>
    </tr>';      global $catid;   $db = new db;   $db->connec....
  22. Remote Assistance Problem
    Won't work (7)
    I have tried tons of times and i can not get it too work. I did't even know about this until
    Paul from Trap 17 used it to help me with something on my site. Whenever i try it, it never
    connects. I have tried all three ways. Email, MSN, and download the file and send it. Both computers
    are connected to the internet. On microsoft's site they have a lot of people with the same
    problem, but no one ever helps with it. They are all unanswered. Paul: If you read this i know you
    know how to do it.....
  23. Idea For A Overunity/perpetual Motion Device
    Though I know it probably won't work (9)
    Well, though a way for such things has never been discovered, I'm giving my idea for a perpetual
    motion device, though it was originally thought up as a device for overunity. It's pretty
    simple - attatch a generator directly to an electric motor, then run a cord to the electric motor,
    and hand crank the generator to start it. Anyone else have an idea for a perpetual motion device?....
  24. Linux Question: Amarok And File Permissions
    please help, i can't get it to work with all music files (4)
    hey, i use to use Linux DC++ to download music from some hubs and i usually download it to
    /home/downloads/ and then i move the files to my collection on another HDD a sata one, on
    sda3/music/ but when i move the files using krushader root mode they become posessed by root and
    amarok can't play them displaying a locker on the file's icon. I tried to " chmod 774 music
    ", where music is my music directory, as root in konsole but no luck. What should i do to make a
    whole directory accessible from amarok as user?....
  25. Anarchy
    Would it work today? (31)
    What is Anarchy you say? No it has nothing to do with Punk Rock or criminals. Anarchy is,"Absence of
    any form of political authority. " Here is a passage from Wikipedia QUOTE The word "anarchy", as
    most anarchists use it, does not imply chaos, nihilism, or anomie, but rather a harmonious
    anti-authoritarian society that is based on individual self-determination and personal involvement.
    In place of what are regarded as authoritarian political structures and coercive economic
    institutions, anarchists advocate social relations based upon voluntary association of free ind....
  26. Xbox 360 Live - does it only work with wireless router?
    (15)
    I am getting an Xbox 360 for my birthday (27th of April). Soon after this we are hoping to set up a
    network...I am wondering if Xbox live will work with our router, on the site it says only wireless
    ones work, and itlists only 10 that definately work. So do only wireless routers work? If not what
    wired ones work too?....
  27. Trying To Figure Out If My Graphics Card Will Work For A Mmorpg
    Will my graphics card work on World of Warcraft (13)
    well, i have a dell, and so i went to the dell support website and looked up what my graphics card
    was...im sure i could have done it from my computer as well, but i decided to do it on dells
    website...and it says that i have an QUOTE Display Adapters Intel® 82845G/GL/GE/PE/GV Graphics
    Controller 64Mb and to play World Of Warcraft i need an QUOTE 32 MB 3D graphics card with
    Hardware Transform and Lighting, such as NVIDIA® GeForce™ 2 class card or above and im not too
    good with computer tecnical stuff so i dont quite know if my Graphics Card will work ....
  28. Razr Problems
    Keypad Doesn't Work (17)
    Hello, Can anyone help me? I own a Motorola Razr V3 and the only key that works is the on off
    button. I have never dropped it and i take excellent care of my phones. It was working fine for a
    few months and one day it just stopped working. The screen still works and I can awnser phone calls
    by opening the flip part, but I can't call anyone or text or anything that requires pushing a
    button unless it is to turn it on or off. I hace looked online and it seemse other people ahve had
    this problem but no one ever had a solution. Should I try to fix it? Should I ....
  29. How To Make Your Pc Work Faster
    get your pc working unbelievably fast in 5 minutes !! (16)
    Here you can find useful tips you can do to make your pc work faster in a few minutes , just follow
    these tips and you will definitely have a much faster and more reliable PC! QUOTE 1.
    Wallpapers: They slow your whole system down, so if you're willing to compromise, have a basic
    plain one instead! 2. Minimizing: If you want to use several programs at the same time then
    minimize those you are not using. This helps reduce the overload on RAM. 3. Boot Faster: The
    'starting Windows 9x , xp' message on startup can delay your booting for a couple ....
  30. Games = Tough Work?
    Do You Sweat Whilst Playing Games? (21)
    Well a few weeks ago I was playing Tony Hawk's Underground 2 on my Xbox and I was furiously
    trying to beat my high record combo. After about a hour of this I was actually sweaty and I just
    felt like stopping playing and have a shower. Does anyone else sweat when they play games?
    Message from snlildude87: /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' />
    ....

    1. Looking for php, msn, bot, work

Searching Video's for php, msn, bot, work
Similar
Mailserver
Fails To
Work
Why
Doesn't
This Code
Work On
Computinghos
t?
User Name -
blimey this
is the
hardest work
ever
Amazing
Software - I
found this
amazing
software, if
you work
with flash..
Advice On A
Girl From
Work.
Make Older
Add-ons Work
With Firefox
3.0
Joomla 1.5.2
Broken Link?
- Add New
User
won't
work
Work Out My
Name - Win
10 Forum
Credits
How Much Is
My Electric
Heater
Costing Me?
- Help me
work out how
much it cost
me to run
About
Aromatherapy
- What is it
and how does
it work?
Frustration
At Work -.-
What Is
Network
Marketing
And How Does
It Work? -
Global
Domains
Internationa
l
Isync On
Tiger To
Work With A
Samsung D520
Taking Phone
Calls At
Work
Hair Growing
Pill - Does
It Really
Work? - Did
You
Know!(an
d Can You
Explain)
How Do A 3
Monitor Comp
Work - i
have seen in
a video
somewhere
Database
With Mysql++
- getting
mySQL++ to
work with
trap17
Ie 7 Issue
With Ajax -
Some ajax
calls dont
seem to work
Does Pro
Active Work
? - prevent
acne
Ctrl + C
Will Not
Work -
Windows Xp
Pro SP2
Evilboard
(forum
Software) -
Multiple
Categorys -
Don't
Work :( - I
am creating
a forum and
i can't
fix more
then 1
category.
Remote
Assistance
Problem -
Won't
work
Idea For A
Overunity/pe
rpetual
Motion
Device -
Though I
know it
probably
won't
work
Linux
Question:
Amarok And
File
Permissions
- please
help, i
can't
get it to
work with
all music
files
Anarchy -
Would it
work today?
Xbox 360
Live - does
it only work
with
wireless
router?
Trying To
Figure Out
If My
Graphics
Card Will
Work For A
Mmorpg -
Will my
graphics
card work on
World of
Warcraft
Razr
Problems -
Keypad
Doesn't
Work
How To Make
Your Pc Work
Faster - get
your pc
working
unbelievably
fast in 5
minutes
!!
Games =
Tough Work?
- Do You
Sweat Whilst
Playing
Games?
advertisement



Php Msn Bot Does Not Work Right



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE