Tuesday 11 November 2014

Posted by Haxor On 23:45

HOW TO GET SOMEONE IP WITH PHP



























HY visitors! Here in this will teach you ''how to get someone IP and other details like port & browser etc etc with PHP"......

1: Simply copy this script  and make a PHP file with this:





<?php

//IP Grabber

//Variables

$protocol = $_SERVER['SERVER_PROTOCOL'];
$ip = $_SERVER['REMOTE_ADDR'];
$port = $_SERVER['REMOTE_PORT'];
$agent = $_SERVER['HTTP_USER_AGENT'];
$ref = $_SERVER['HTTP_REFERER'];
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);

//Print IP, Hostname, Port Number, User Agent and Referer To Log.TXT

$fh = fopen('log.txt', 'a');
fwrite($fh, 'IP Address: '."".$ip ."\n");
fwrite($fh, 'Hostname: '."".$hostname ."\n");
fwrite($fh, 'Port Number: '."".$port ."\n");
fwrite($fh, 'User Agent: '."".$agent ."\n");
fwrite($fh, 'HTTP Referer: '."".$ref ."\n\n");
fclose($fh);
?>
 



2: Then upload on any hosting site and send link to victim.

3: Victim information will save in a file called 'log.txt'

IF you are having some problem to make file you can download this script from the following link:

                            Download

Thanks 4 visiting my BLOG!!!!  

0 comments:

Post a Comment