Home › Forums › Archives › Instant Messaging › Yahoo! Messenger Support › Yahoo Messenger Invisible almost working
- This topic has 2 replies, 3 voices, and was last updated 18 years, 2 months ago by
imvisible.
-
AuthorPosts
-
June 26, 2008 at 12:01 pm #28994
Veber
MemberHi people! :new:
I am making a connection to the yahoo server through a socket. I need to make authentification. I send the specific yahooid and this returns a string. What i have to do with this string and what and how should i send it back?
the code in php:
error_reporting(E_ALL);
function hexstr($hexstr){
$hexstr = str_replace(‘ ‘, ”, $hexstr);
$retstr = pack(‘H*’, $hexstr);
return $retstr;
}
Function strhex($string, $chars = 4){
$hexstr = unpack(‘H*’, $string);
if($chars == 0){
return array_shift($hexstr);
}else{
return implode(” “, str_split(array_shift($hexstr), $chars));
}
}echo “
TCP/IP Connection
n”;
$service_port =5050;
echo $service_port;
$address = gethostbyname(‘cs123.msg.mud.yahoo.com’);/* Create a TCP/IP socket. */
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
if ($socket === false) {
echo “socket_create() failed: reason: ” . socket_strerror(socket_last_error()) . “n”;
} else {
echo “OK.
“;
}echo “Attempting to connect to ‘$address’ on port ‘$service_port’…
“;
$result = socket_connect($socket, $address, $service_port);
echo “Socket connect utan vagyunk mar!”;if ($result === false) {
echo “socket_connect() failed.nReason: ($result) ” . socket_strerror(socket_last_error($socket)) . “n”;
} else {
echo “OK.
“;
}$in=hexstr(“59 4d 53 47 00 0f 00 00 00 10 00 57 00 00 00 00 00 00 00 00 31 c0 80 76 61 73 7a 6b 61 5f 6d 69 73 69 c0 80 “);
echo $in.”
“;
$out = ”;echo “Sending request…”;
socket_write($socket, $in, strlen($in));
echo “OK.
“;echo “Reading response:nn”;
$out = socket_read($socket,128);
echo $out.”
“;echo “Closing socket…”;
socket_close($socket);
echo “OK.
“;
?>:woot:
August 28, 2008 at 9:25 am #170286imvisible
MemberA few month ago I start searching a YM login tool for a detector. You can find a great class on phpclasses that make this login
Of for a 50$ you can buy from some iranian sitesAugust 28, 2008 at 3:44 pm #170285imported_Ven0m
MemberLogin tool? Probably only the YMSG12 protocol, which you can get ANYWHERE for free. But, I wouldn’t suggest doing so, since it’s pretty much outdated. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.