I will show you today how to make your own working IP logger to grab any IP address you want !
Requirement :
-a PHP hosting ( a free one is perfect )
-a PHP script
-Filezilla or another FTP client
-a PHP hosting ( a free one is perfect )
-a PHP script
-Filezilla or another FTP client
First you will need a simple and free web hosting , don't buy one , a free hosting will be perfect
this is some free web hostings :
-http://ohost.de/
-http://www.000webhost.com/
-https://www.alwaysdata.com/
-http://it.altervista.org/
this is some free web hostings :
-http://ohost.de/
-http://www.000webhost.com/
-https://www.alwaysdata.com/
-http://it.altervista.org/
there are many more ...
Create an account on that free hosting websites, choose a domain and go to the FTP connection details, you must have three informations :
-host
-username
-password
-host
-username
-password
-Open filezilla ( or the FTP client of your choice) and connect to your FTP
THe PHP script :
Now you will need this code :
Code:
<?
$inF = fopen("./ip.ini", "a" ); //
fputs($inF, $REMOTE_ADDR."\n"); //
$hostname = $_SERVER["REMOTE_ADDR"];
$date_str = 'D d M Y H:i:s T(0)';
fputs($inF, date($date_str), $hostname."\n");
fputs($inF, $hostname."\n");
fclose($inF);
?>
Code:
<?
$inF = fopen("./ip.ini", "a" ); //
fputs($inF, $REMOTE_ADDR."\n"); //
$hostname = $_SERVER["REMOTE_ADDR"];
$date_str = 'D d M Y H:i:s T(0)';
fputs($inF, date($date_str), $hostname."\n");
fputs($inF, $hostname."\n");
fclose($inF);
?>
Copy it and paste it in a text document and name the file as you want , but with PHP extension , for example : logger.php
Now just upload that file to your website
You will now have an url like this one : http://yoursite.com/logger.php
This is the URL of your IP logger , so to grab an IP , you will just need to gave that link to your victim
Once your victim has visit your URL , just go to : http://yoursite.com/ip.ini to see the date , the hour and the IP of your victim like that :
Conclusion :
This method is simple and 100 % working , if your victim click on your link , you will receive his IP in instant on your website
0 comments:
Post a Comment