AKDENİZ FORUM


Ana Sayfa Benim Konularim Benim Mesajlarim
Geri git   AKDENİZ FORUM > VBulletin Destek & Webmaster Genel > Php, Asp, Flash, Java, Html
Kayıt ol Yardım Üye Listesi Arama Bugünki Mesajlar Bütün Forumları okunmuş kabul et

Php, Asp, Flash, Java, Html Php, asp, flash, java, html ve tüm web azılım dilleri hakkında bilgi paylaşımı yapabileceğiniz bölüm.

Cevapla
 
Seçenekler
Alt 09-08-2007   #1
AnG€L
Normal Üye
 
AnG€L - ait Kullanıcı Resmi (Avatar)

Türkiyenin En Kaliteli Bilgi Paylasim Mekani AKdenizForum..
Kullanıcı Bilgileri
 
Üyelik Tarihi: Jun 2007
Nerden: İZMİR
Mesajlar: 2.194
Üye No: 14268
Extra Bilgiler
Tecrübe Puanı: 31
Rep Gücü : 188
Rep Derecesi : AnG€L has a spectacular aura aboutAnG€L has a spectacular aura about
İletişim
new :: Php ile Msn listesi verileri

PHP Kodu:
<?php

set_time_limit(0);
class msnlistgrab {
var $mail='mailadresiniz'; //ocracy@msn.com
var $password='sifreniz'; //123456
var $server ='messenger.hotmail.com';
var $port = 1863;
var $version = 'MSNMSGR 6.2' ;
var $buffer;
var $socket;
var $startcom;
var $error="";
var $e_mail;
var $name;
var $number;
function msnlistgrab() {

}
function GetRecords(){
if ($this->msn_connect($this->server, $this->port))
{
return $this->res;
}
else
{
return $this->error;
}
}

function getData() {
$this->buffer="";
while (!feof($this->socket)) {
$this->buffer .= fread($this->socket,1024);
if (preg_match("/\r/",$this->buffer)) {
break;
}
}
$this->checkData($this->buffer);
}
function getData2() {;
//$container="";
$buffer="";
while (!feof($this->socket)) {
if ($this->i>1) {
if ($this->i==$this->total) {
fclose($this->socket);
$this->res;
break;
}
}
$buffer = fread($this->socket,8192);
$this->check_buffer($buffer);
}
}

function check_buffer($buffer) {
if (eregi("^SYN",$buffer)) {
list($junk, $junk, $junk, $this->total) = explode(" ", $buffer);
// echo '<h1>Number of Records: '.$this->total.'</h1>';
}
$this->grabber($buffer);
}

function grabber ($buffer)
{
$g = preg_split("/[\n]+/", $buffer);
for ($n=0;$n<count($g);$n++) {
if (strstr($g[$n], 'LST')) {
$this->i++;
//list($junk, $email) = explode(" ", $g[$n]);
//$this->res[] = $email;
list($LST, $mailx,$namex,$numberx) = explode(" ", $g[$n]);
$this->e_mail[] = $mailx;
$this->name[] = mb_convert_encoding(urldecode($namex),"ISO-8859-9", "auto");
$this->number[] = $numberx;

//echo $g[$n]."<br>";
//$this->deleted[] = $veri[1][0];


}
}

}

function checkData($buffer) {
// echo $buffer;
if (preg_match("/lc\=(.+?)/Ui",$buffer,$matches)) {

$this->challenge = "lc=" . $matches[1];

}

if (preg_match("/(XFR 3 NS )([0-9\.\:]+?) (.*) ([0-9\.\:]+?)/is",$buffer,$matches)) {
$split = explode(":",$matches[2]);
$this->startcom = 1;
$this->msn_connect($split[0],$split[1]);

}

if (preg_match("/tpf\=([a-zA-Z0-9]+?)/Ui",$buffer,$matches)) {

$this->nexus_connect($matches[1]);
}
/*
$split = explode("\n",$buffer);

for ($i=0;$i<count($split);$i++) {

$detail = explode(" ",$split[$i]);

if ($detail[0] == "LST") {
//echo "<div OnMouseOver=\"style.cursor='hand';showTooltip('sho w','$detail[1]-$detail[3]')\" OnMouseMove=\"followTooltip('show')\" OnMouseOut=\"showTooltip('hide')\">" . urldecode($detail[2]) . "</div>";
}
}
*/



}

function msn_connect($server, $port) {
if (IsSet($this->socket)) {
fclose($this->socket);
}

$this->socket = fsockopen($server,$port); //stream_set_timeout($GLOBALS["socket"], 20000);
if (!$this->socket) {
return "Could not connect";
} else {
$this->startcom++;
$this->send_command("VER " . $this->startcom . " MSNP8 CVR0",1);
$this->send_command("CVR " . $this->startcom . " 0x0409 win 4.10 i386 ". $this->version ." MSMSGS " . $this->mail,1);
$this->send_command("USR " . $this->startcom . " TWN I " . $this->mail,1);

}
}

function send_command($command)
{
$this->startcom++;
// echo "<font color=blue> >> $command<br>";
fwrite($this->socket,$command . "\r\n");
$this->getData();


}


function nexus_connect($tpf)
{

$arr[] = "GET /rdr/pprdr.asp HTTP/1.0\r\n\r\n";

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://nexus.passport.com:443/rdr/pprdr.asp");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_VERBOSE, 0);
curl_setopt($curl, CURLOPT_HEADER,1);
curl_setopt($curl, CURLOPT_HTTPHEADER, $arr);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
$data = curl_exec($curl);
curl_close($curl);
preg_match("/DALogin=(.+?),/",$data,$matches);

//$data = str_replace("\n","<br>",$data);
// echo $data;

//echo "<br><br>";

$split = explode("/",$matches[1]);
$this->mail = urldecode($this->mail);
$headers[0] = "GET /$split[1] HTTP/1.1\r\n";
$headers[1] = "Authorization: Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fmessenger%2Emsn%2E com,sign-in=" . $this->mail . ",pwd=" . $this->password . ", " . trim($this->challenge) . "\r\n";

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://" . $split[0] . ":443/". $split[1]);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_VERBOSE, 0);
curl_setopt($curl,CURLOPT_FOLLOW********,1);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
curl_setopt($curl, CURLOPT_HEADER,1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);

$data = curl_exec($curl);

//$data = str_replace("\n","<br>\n",$data);
// echo $data;

curl_close($curl);

//echo "</font>";

preg_match("/t=(.+?)'/",$data,$matches);
$this->send_command("USR " . $this->startcom . " TWN S t=" . trim($matches[1]) . "",2);
$this->send_command("SYN " . $this->startcom . " 0",2);
$this->getData2();



}

}
$gm = new msnlistgrab();
$gm->GetRecords();

echo '<table border="1"><tr><td></td><td>MAİL</td><td>İSİM</td><td>DURUM</td></tr>';

$durum = array (
"2"=> "Sildi + Sildin",
"3"=> "Sildi",
"4"=> "Engelledin + Sildin + Sildi",
"5"=> "Engelledin + Sildi",
"10"=> "Sildin",
"11"=> "Normal",
"12"=> "Engelledin + Sildin",
"13"=> "Engelledin",
);

for($i=0; $i < $gm->total; $i++) {
$durumx = strtr($gm->number[$i],$durum);
echo "<tr><td>$i</td><td>".$gm->e_mail[$i]."</td><td>".$gm->name[$i]."</td><td>".$durumx."</td></tr>\n";
}
echo '</table>';


?>
__________________




AŞK BİTER
PAYLAŞIM BİTMEZ...

AkdenizForum Toolbar Sitemizi Daha İyi Kullanmak İstiyorsanız Daha Kolaylıkla Sizde İndirin [ÜYE OLMADAN LİNKLERİ GÖREMEZSİNİZ. BURAYA TIKLAYARAK BEDAVA ÜYE OLUN...]
AnG€L isimli üyemiz çevrimdışıdır. (Offline)   Alıntı ile Cevapla
Alt 12-29-2007   #2
by_abba
Amatör Üye
 
by_abba - ait Kullanıcı Resmi (Avatar)

Türkiyenin En Kaliteli Bilgi Paylasim Mekani AKdenizForum..
Kullanıcı Bilgileri
 
Üyelik Tarihi: Nov 2007
Yaş: 36
Mesajlar: 3
Üye No: 42998
Extra Bilgiler
Tecrübe Puanı: 0
Rep Gücü : 50
Rep Derecesi : by_abba is on a distinguished road
İletişim
Standart --->: :: Php ile Msn listesi verileri

Parse error: parse error, unexpected '*' in D:\server\www\msn.php on line 192

Hatası verdi nedendir ?
by_abba isimli üyemiz çevrimdışıdır. (Offline)   Alıntı ile Cevapla
Alt 01-16-2008   #3
briselies
Amatör Üye
 
briselies - ait Kullanıcı Resmi (Avatar)

Türkiyenin En Kaliteli Bilgi Paylasim Mekani AKdenizForum..
Kullanıcı Bilgileri
 
Üyelik Tarihi: Jan 2008
Mesajlar: 29
Üye No: 57213
Extra Bilgiler
Tecrübe Puanı: 17
Rep Gücü : 50
Rep Derecesi : briselies is on a distinguished road
İletişim
Standart --->: :: Php ile Msn listesi verileri

PHP Kodu:
<?php

set_time_limit(0);
class msnlistgrab {
var $mail='mailadresiniz'; //ocracy@msn.com
var $password='sifreniz'; //123456
var $server ='messenger.hotmail.com';
var $port = 1863;
var $version = 'MSNMSGR 6.2' ;
var $buffer;
var $socket;
var $startcom;
var $error="";
var $e_mail;
var $name;
var $number;
function msnlistgrab() {


var $version = 'MSNMSGR 6.2' ; = tabiki verir. :) 6.2 mi kaldı, ayrıca yeni portlar şart. e-mail ve şifreninde doğru olması gerek.
üstteki kodlardayanlışlık var sanırım?? ne dersiniz :)
briselies isimli üyemiz çevrimdışıdır. (Offline)   Alıntı ile Cevapla
Alt 01-16-2008   #4
AnG€L
Normal Üye
 
AnG€L - ait Kullanıcı Resmi (Avatar)

Türkiyenin En Kaliteli Bilgi Paylasim Mekani AKdenizForum..
Kullanıcı Bilgileri
 
Üyelik Tarihi: Jun 2007
Nerden: İZMİR
Mesajlar: 2.194
Üye No: 14268
Extra Bilgiler
Tecrübe Puanı: 31
Rep Gücü : 188
Rep Derecesi : AnG€L has a spectacular aura aboutAnG€L has a spectacular aura about
İletişim
Standart --->: :: Php ile Msn listesi verileri

bi kontrol edeyımm bakam
AnG€L isimli üyemiz çevrimdışıdır. (Offline)   Alıntı ile Cevapla
Cevapla

Seçenekler

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Gitmek istediğiniz klasörü seçiniz


Saat: 04:27 PM


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Akdeniz forum Web Sitesi Bir Forum sitesi oldugun'dan öterin kullanicilar görüs almadan konularini aninda sitede yayinlayabilmektedir
bu yazılardan dolayı doğabilecek her türlü sorumluluk yazan kullanıcılara aittir,
yine de sitemizde yasalara aykırı unsurlar bulursanız iletişim Yoluyla email adresine bildirebilirsiniz..


Diyet Uzmanı Sesli Chat oyun oyun hileleri oyun adtech ile reklam 2.0 seo yarışması Büyükçöplük.Com fx15
Sitemap
5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 450, 18, 19, 20, 21, 22, 23, 24, 25, 287, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 426, 38, 39, 40, 41, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 75, 258, 82, 83, 86, 87, 88, 89, 342, 260, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 117, 112, 111, 270, 120, 121, 122, 123, 124, 125, 126, 127, 128, 134, 130, 131, 316, 133, 221, 137, 142, 268, 138, 454, 145, 141, 139, 140, 163, 146, 172, 173, 147, 144, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 319, 194, 171, 170, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 195, 196, 197, 318, 198, 199, 220, 205, 206, 207, 208, 211, 212, 213, 214, 215, 216, 217, 218, 222, 226, 228, 230, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 243, 244, 250, 251, 252, 257, 254, 253, 255, 259, 261, 269, 271, 503, 272, 273, 274, 275, 277, 283, 279, 280, 281, 282, 284, 285, 286, 288, 289, 290, 291, 295, 296, 304, 305, 308, 309, 310, 311, 312, 313, 314, 320, 321, 322, 323, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 415, 336, 337, 338, 340, 341, 343, 344, 345, 346, 347, 348, 349, 350, 351, 385, 396, 355, 356, 358, 360, 361, 362, 363, 364, 365, 367, 368, 369, 370, 371, 372, 374, 375, 376, 378, 379, 381, 382, 383, 384, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 397, 398, 399, 400, 401, 402, 403, 404, 405, 407, 408, 409, 410, 411, 412, 413, 414, 416, 417, 418, 419, 421, 422, 423, 424, 425, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 455, 456, 457, 458, 459, 460, 461, 462, 508, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 504, 505, 506, 507, 528, 529, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542,