Tarih: 30/03/2015 / 22:52:00 , Kod sahibi: Toprak
on *:snotice:*whois*on*you*: {
if !$sock(whoiz) {
echo -a 9,2***8 $2 11nicki size whois ekti,bilgileri alnyor...
sockopen whoiz www.ipaddresslocation.org 80
sockmark whoiz $+($token($token($3,2,64),1,41),,$2)
}
}
alias htmlfree { if ($len($1-) <= 900) { var %x, %i = $regsub($1,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x, ,$chr(9)) | return %x } }
on *:sockopen:whoiz:{
sockwrite -nt $sockname GET $+(/ip-address-locator.php?lookup=,$token($sock($sockname).mark,1,191)) HTTP/1.1
sockwrite -nt $sockname Host: www.ipaddresslocation.org
sockwrite -nt $sockname Connection: keep-alive
sockwrite -nt $sockname Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
sockwrite -nt $sockname $crlf
}
on *:sockread:whoiz:{
if ($sockerr) { echo -a Hata. | .sockclose $sockname | return }
var %whoiz | sockread %whoiz | tokenize 32 %whoiz
if (IP Country: isin $1-) { .hadd -ms Whoiz lke $iif(!$token($htmlfree($1-),2,58),Belirsiz,$token($htmlfree($1-),2,58)) }
if (IP City: isin $1-) { .hadd -ms Whoiz Sehir $iif(!$token($htmlfree($1-),2,58),Belirsiz,$token($htmlfree($1-),2,58)) }
if (IP Continent: isin $1-) { .hadd -ms Whoiz Blge $iif(!$token($htmlfree($1-),2,58),Belirsiz,$token($htmlfree($1-),2,58)) }
if (ISP Provider: isin $1-) {
var %isp $iif(!$token($htmlfree($1-),2,58),Belirsiz,$token($htmlfree($1-),2,58))
if !$window(@Whois) { window -adk0 +let @Whois 700 80 290 132 Verdana 12 | .titlebar @Whois yerel bilgiler... }
else { window -a @Whois }
aline @Whois 11,1Nick1......11:9 $token($sock($sockname).mark,2,191) 1.........................................................
aline @Whois 11,1IP1.........11:9 $token($sock($sockname).mark,1,191) 1.......................................................
aline @Whois 11,1lke1......11:9 $hget(Whoiz,lke) 1...............................................
aline @Whois 11,1Blge1....11:9 $hget(Whoiz,Blge) 1................................................
aline @Whois 11,1ehir1.....11:9 $hget(Whoiz,Sehir) 1...............................................
aline @Whois 11,1ISP1........11:9 %isp 1............................................................
aline @Whois 0,1----------------Bilgi Sonu------------------------------------------------------------
.hfree -sw Whoiz | sockclose $sockname
}
}
