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_grabberdirectory 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.jpgfile 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.phpfile logs visitors' IP addresses when accessed through the web server. - Accessing the
index.phpfile with the filenamemeow.jpgwill serve thecute_cat.pngimage file and log the visitor's IP address. - Accessing the
index.phpfile with the filenameip_logs.txtand the correct password query parameter (?p=mypassword123) will serve the IP log file.
This project is licensed under the terms of the MIT License.
Contributions are welcome! Feel free to submit pull requests, suggest new features, or report issues.
