Friday, 13 December 2013

Grab easily an IP with a simple PHP


Hello Dears , i will show you today how to VERY EASILY make your own and 100% working IP logger to grab any IP adresse you want !

Requirement :
-a PHP hosting ( a free one is perfect )
-a PHP script
-Filezilla or another FTP client

Fisrtable 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/

there are many more ...

Create an account on that free php hosting , choose a domain and go to the FTP connection details, you must have three informations :
-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);
?>

Copy it and paste it in a text document and name the file as you want , but with PHP extension , for exemple : hello.php

Now just upload that file to your website via filezilla ...

You will now have an url like this one :http://yoursite.com/hello.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 fast and 100 % working , if your victim click on your link , you will receive his IP in instant on your website
I hope you like my simple tutoriel and i hope it help beginners to make thair own IP grabber.

1 comments:

  1. If some one wishes expert view concerning blogging and site-building afterward i propose
    him/her to visit this webpage, Keep up the fastidious job.


    Here is my website: check this link right here now

    ReplyDelete

 

Security Learner's Blog

This content is DMCA Protected.Copying or reproducing of procedure is prohibited.Do Not Copy!!