Skip to content

ntxg/Python-Honeypot-Flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Honeypot Flask Application

This is a simple Flask-based honeypot application designed to log unauthorized access attempts to your web server. It captures the incoming requests' IP address, HTTP method, path, user agent, and geographical information (such as country and ISP) for each request made to any endpoint. It then sends these details to a Discord channel via a webhook and saves them in a JSON log file.

Features

  • Logs unauthorized access attempts to any endpoint of the Flask application.
  • Retrieves geographical information about the IP address of the requester.
  • Sends a notification to a Discord webhook when an unauthorized access attempt is made.
  • Saves access attempt logs in a JSON file.

Requirements

  • Python 3.x
  • Flask
  • Requests library

You can install the required Python libraries using pip:

pip install flask requests

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages