Hi friends, after long time i am going to post a hacking tutorial now. This article will explain “how to get ip address using the external image?”
Step 1:
First of all find a free web host service.
Here is the list of free web hosting service:
http://www.free-webhosts.com/
Get registered in any of free web hosting service.
Step 2:
make a new directory( i hope that you know how to create directory).
you can give any name to the directory.
Lets take as “Image”.
your directory link is http://www.yoursite.com/Image/
Step 3:
Create a file named as “.htaccess” (don’t forget the dot operator).
Edit the .htaccess file and paste this code into the file:
image.gif:
Name your image file as “image.gif” and upload it to our directory.
I mean upload the image.gif file to Image directory.
iplogger.php:
a php file which has the ip logging code inside.
Step 4:
Open Notepad++ or Notepad
paste this code.
Create a empty html file ,name it as “logger.html”.
Upload the two files to our directory,namely “Image” directory.
Step 5:
Go to a forum or wherever you would like
insert the image using the following BB code:
– Pm`s
– Posts & Threads
– Signatures
– Avatars
-And anything else that allows external linking of images.
If you would like to insert your image using HTML where is allowed then use this code:
Step 6:
Check your:
if you want to know how it is working , you can refer this link:
Step 1:
First of all find a free web host service.
Here is the list of free web hosting service:
http://www.free-webhosts.com/
Get registered in any of free web hosting service.
Step 2:
make a new directory( i hope that you know how to create directory).
you can give any name to the directory.
Lets take as “Image”.
your directory link is http://www.yoursite.com/Image/
Step 3:
Create a file named as “.htaccess” (don’t forget the dot operator).
Edit the .htaccess file and paste this code into the file:
Here you should consider two files, namely image.gif,iplogger.php(You can name it anything. as a n00b,lets try as it is).RewriteEngine on
RewriteRule ^image.gif$ iplogger.php
image.gif:
Name your image file as “image.gif” and upload it to our directory.
I mean upload the image.gif file to Image directory.
iplogger.php:
a php file which has the ip logging code inside.
Step 4:
Open Notepad++ or Notepad
paste this code.
save the file as “iplogger.php”<?php
$log = ‘logger.html’;
$ip = $_SERVER[‘REMOTE_ADDR’];
$page = $_SERVER[‘REQUEST_URI’];
$refer = $_SERVER[‘HTTP_REFERER’];
$date_time = date(“l j F Y g:ia”, time() – date(“Z”)) ;
$agent = $_SERVER[‘HTTP_USER_AGENT’];
$fp = fopen(“logger.html”, “a”);
fputs($fp, “
<b>$date_time</b> <br> <b>IP: </b>$ip<br><b>Page: </b>$page<br><b>Refer: </b>$refer<br><b>Useragent:
</b>$agent <br><br>
“);
flock($fp, 3);
fclose($fp);
?>
Create a empty html file ,name it as “logger.html”.
Upload the two files to our directory,namely “Image” directory.
Step 5:
Go to a forum or wherever you would like
insert the image using the following BB code:
You can insert this in:
– Pm`s
– Posts & Threads
– Signatures
– Avatars
-And anything else that allows external linking of images.
If you would like to insert your image using HTML where is allowed then use this code:
Step 6:
Check your:
For all your IP logs including where they came from.
if you want to know how it is working , you can refer this link:
mod_rewrite, a beginner's guide (with examples)
www.workingwith.me.uk