- Notifications
You must be signed in to change notification settings - Fork9
This repository demonstrates a PHP-based technique for retrieving someone's IP address by disguising it as an image using MOD re-write. It showcases how IP addresses can be captured covertly within web applications, emphasizing the importance of robust security measures.
License
haxinja/image-ip-grabber
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Image IP Grabber project is a simple demonstration of how an image file can be used to log visitors' IP addresses when accessed through a web server. It includes an index.php file that logs visitors' IP addresses and serves an image file, along with a .htaccess file for URL rewriting.
🛈 Note:This project utilizes PHP for server-side scripting and Apache's mod_rewrite module for URL rewriting.
- This project is for educational and demonstration purposes only.
- Any misuse or unlawful use of this project is beyond the responsibility of the developer.
- Clone or download this repository.
- Upload the entire
ip_grabber
directory to your website directory. - Ensure that the server has PHP and Apache with mod_rewrite enabled.
- Set permissions for writing logs if necessary.
- Access the
meow.jpg
file through a web browser to trigger the IP logging functionality.
- (You can change the meow.jpg/image file name this on index.php line 29)
- LICENSE
- README.md
- ip_grabber
- index.php
- .htaccess
- assets
- 404.html
- cute_cat.png
- The
index.php
file logs visitors' IP addresses when accessed through the web server. - Accessing the
index.php
file with the filenamemeow.jpg
will serve thecute_cat.png
image file and log the visitor's IP address. - Accessing the
index.php
file with the filenameip_logs.txt
and the correct password query parameter (?p=mypassword123
) will serve the IP log file.
This project is licensed under the terms of theMIT License.
Contributions are welcome! Feel free to submit pull requests, suggest new features, or report issues.
About
This repository demonstrates a PHP-based technique for retrieving someone's IP address by disguising it as an image using MOD re-write. It showcases how IP addresses can be captured covertly within web applications, emphasizing the importance of robust security measures.