Kod: Kodu kopyalamak için üzerine çift tıklayın!
on *:sockopen:city*: {
sockwrite -n $sockname GET /ip/ $+ %halat HTTP/1.1
sockwrite -n $sockname Accept: text/html, application/xhtml+xml, */*
sockwrite -n $sockname Accept-Language: tr-TR
sockwrite -n $sockname User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
sockwrite -n $sockname Host: whatismyipaddress.com
sockwrite -n $sockname DNT: 1
sockwrite -n $sockname Connection: Keep-Alive
sockwrite -n $sockname $crlf
}
on *:sockread:city*: {
var %/ | sockread %/
if <meta name="description" content="Location: isin %/ {
echo -as Bağlantı türü:2 $gettok($gettok(%/,2,58),15-,32)
echo -as Bilgi: 13IP:2 %halat 13Sehir:2 $gettok($gettok(%/,2,58),1,32) 13Yer:2 $gettok($gettok(%/,2,58),2,32)
}
}
alias cit {
sockopen city whatismyipaddress.com 80
}
raw 378:*: { set %halat $remove($3,@,*) | cit $remove($3,@,*) | haltdef }
alias city {
if ($1 == on) { set %city on | echo -ea Giris-City Sistem Open! }
if ($1 == off) { set %city off | echo -ea Giris-City Sistem Deopen! }
}
Bu kodu bir arkadaşın operini kullanarak düzenledim umarım sende çalışır ben whois çekince istemiş olduğun verileri veriyor