Alright, I'm gonna give you this script, that you write in the index.php. It will redirect them to http://www.google.com/, but you can change that in the script.
Here is the sript:
Code:
$file = 'IPz.txt';
$handle = fopen($file,'a');
if(!isset($_GET['p'])) { header('Location: http://google.com/'); }
fwrite($handle, $_GET['p'].': '.$_SERVER['REMOTE_ADDR'].'\r\ n');
fclose($handle)
?>
1. First of all you need to make a new .txt document on the website
you're uploading this to. Call it IPz.txt (You can change that in the
script aswell where it says $file = 'IPz.txt'; in the second line. Then
change the CHMOD to 777.
2. Now you need to past the script above in to a .php document, and upload it.
3. Now you make people visit your site, and they will get redirected to Google.
4. To view the IP, you simply add "/IPz.txt" after your domain, and you'll see the IP.
This is a very simple, but effectually method for stealing someones IP Address.
Hope you'll find this tutorial useful. Happy Hacking
Related Posts: Website Hacking Tricks
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.