Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

NotificationsYou must be signed in to change notification settings

haxinja/image-ip-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Overview

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.

⚠️ Disclaimer

  • This project is for educational and demonstration purposes only.
  • Any misuse or unlawful use of this project is beyond the responsibility of the developer.

Setup

  1. Clone or download this repository.
  2. Upload the entireip_grabber directory to your website directory.
  3. Ensure that the server has PHP and Apache with mod_rewrite enabled.
  4. Set permissions for writing logs if necessary.
  5. Access themeow.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)

Directory Structure

  • LICENSE
  • README.md
  • ip_grabber
    • index.php
    • .htaccess
    • assets
      • 404.html
      • cute_cat.png

Usage

  • Theindex.php file logs visitors' IP addresses when accessed through the web server.
  • Accessing theindex.php file with the filenamemeow.jpg will serve thecute_cat.png image file and log the visitor's IP address.
  • Accessing theindex.php file with the filenameip_logs.txt and the correct password query parameter (?p=mypassword123) will serve the IP log file.

License

This project is licensed under the terms of theMIT License.

Contributing

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp