1) Download this file, and extract it to your computer. It is php script which represents our Ip finder.
2)When you downloaded file from step one, you’ll see ip_finder.php and text.txt . These files you’ll need to upload to server.
Go to this free hosting site 110mb.com and create your account.
3) Login to your account and go file manager
4) Here upload ip_finder.php and text.txt , click upload files
5)Right click on ip_finder and and copy link location
Link looks like this http://youdomainname/ip_finder.php , in my example it is http://hscripts.110mb.com/ip_finder.php
Send link to your friend and when he click it, his ip address will bi written to text.txt , so open text. txt file
For those who want to know more, here is an explanation of php script
Code looks like this :
$_SERVER["REMOTE_ADDR"] - return ip addresses to variable $ip_address
fwrite($file, $file2)- write variable $file2 to $file , $file is our text.txt
META HTTP-EQUIV=”Refresh” CONTENT=”0; URL=http://hackspc.com” - this meta tag redirect link to http://hackspc.com, you can set diffrenr redirection url , just change URL=http://hackspc.com”
Note: This post is to be used for educational purposes only
No comments:
Post a Comment