BlueScreen
norwegians can't get chlamydia
Eleven Years of Service
Posts: 816
Threads: 72
Currency: 23 NSP
How to make an IP logger using a image. 06-08-2013, 11:17 AM #1
So the first thing you want to do is to get a hosting account on some shitty ass free or paid hosting out there.
If you already have this skip step 1.
1. When you have a hosting account and the DNS servers for your domain has updated, you should start by getting the FTP details.
Lets say the hosting you are using uses cPanel, then your login details are your FTP details.
2. Get a FTP client like FileZilla or whatever else there is. In this tutorial I am going to be using FileZilla.
You can download FileZilla here: https://filezilla-project.org/
3. After FileZilla has downloaded and installed press on the little icon up in the corner that looks like a server with a green arrow sticking trough, and a little window should pop up.
4. Then enter your FTP details like I did in the image above and press "Connect".
5. When you are logged in you should see a page something like this.
6. Depending on your hosting you might already be in your public_html forlder, but if not then press public_html.
When you are there you want to make a folder called "ImageLogger".
Inside of that one you might want to make a nice looking faggot index and later just import all the IP's into that.
Inside of the ImageLogger you want to make another folder called Images.
7. When you are inside of ImageLogger/Images make two folders, and call one of them .htaccess and another one logger.php.
8. Right click on .htaccess and copy paste the following lines.
Quote:RewriteEngine on
RewriteRule ^image.png$ logger.php
RewriteRule ^image.gif$ logger.php
RewriteRule ^image.jpg$ logger.php
You can add more file extensions such as .jpeg and pns.
9. Inside of logger.php you want to write a simple PHP IP logging script.
You can make it more complicated, ex: add timelines and what browser they are using, and wether or not its a server viewing the files or a nigger using google schrome.
If you don't feel like writing your own IP logging script feel free to use mine.
Quote:<?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")) ;
$fp = fopen("logger.html", "a");
fputs($fp, "
<b>$date_time</b> <br>
<b>IP: </b>$ip<br>
<b>Page: </b>$page<br>
");
flock($fp, 3);
fclose($fp);
?>
This script will make a file called logger.html. You can change the filename to whatever.
10. This is the final and the simples step.
So all you have to do is to right click and create "new file" and name the files whatever you put in the .htaccess.
Ex: Image.gif, image.png, image.jpg and so on.
This was a really simple but useful tutorial. Hope you enjoyed it.
BlueScreen.
Oni
鬼に金棒
Twelve Years of Service
Posts: 18,595
Threads: 2,010
Currency: 798 NSP
RE: How to make an IP logger using a picture. 06-08-2013, 11:25 AM #2
If you're in a rush, you can also use iplogger.org. It works pretty well.
Telegram: Oni_SL (Link)
Nefarious
Turning into an owl.
Eleven Years of Service
Posts: 3,622
Threads: 336
Currency: 31 NSP
RE: How to make an IP logger using a picture. 06-08-2013, 11:26 AM #3
Damn.
Another nice tutorial, Bluescreen.
Reply
Banadmin
S. Elite
Eleven Years of Service
Posts: 4,225
Threads: 507
Reputation: 8
Currency: 57 NSP
RE: How to make an IP logger using a picture. 06-12-2013, 04:05 PM #4
Nice tutorial, Bluescreen. Thank-you.
Website
Reply
myballs123
Junior Member
Eleven Years of Service
Posts: 16
Threads: 1
Reputation: 0
Currency: 0 NSP
RE: How to make an IP logger using a picture. 06-24-2013, 05:35 PM #5
hehehe... You removed my post. I just want to informed you that this php code is not very good. It is a page, not an image. It doesn't allow html includes with the img tag. I know how but as shown earlier you don't want to hear it.
Reply
Darkmuseisbae
Registered (Legends)
Eleven Years of Service
Posts: 347
Threads: 35
Reputation: 4
Currency: 35 NSP
RE: How to make an IP logger using a picture. 06-24-2013, 05:45 PM #6
Nice tutorial! And the iplogger.org is confusing -.-
Reply
Sirius
oldfag
Eleven Years of Service
Posts: 2,950
Threads: 115
Currency: 52 NSP
RE: How to make an IP logger using a picture. 06-24-2013, 06:52 PM #7
I recommend iplogger.org as Der Anar says.
Reply
Sapientia
Veni, Vidi, Vici.
Eleven Years of Service
Posts: 701
Threads: 86
Reputation: 7
Currency: 79 NSP
RE: How to make an IP logger using a picture. 06-24-2013, 07:28 PM #8
This code doesn't work at all, don't see how it worked for you.
Reply
myballs123
Junior Member
Eleven Years of Service
Posts: 16
Threads: 1
Reputation: 0
Currency: 0 NSP
RE: How to make an IP logger using a picture. 06-24-2013, 07:57 PM #9
(06-24-2013, 07:28 PM)Wisdom Wrote: This code doesn't work at all, don't see how it worked for you.
The code does not work with html img tags. However, if you load up the page directly it should log the information to logger.html file. This code really isnt helpful.
Reply
Sapientia
Veni, Vidi, Vici.
Eleven Years of Service
Posts: 701
Threads: 86
Reputation: 7
Currency: 79 NSP
RE: How to make an IP logger using a picture. 06-24-2013, 08:11 PM #10
Yes, I know. I created my own script where if you where to post <img> tags or [img] it would work.
http://www.sinister.ly/Thread-Tutorial-P...g-by-Image
Reply