This is a web server that log and save (in SQLite) all visits to critical web pages.
- Go 1.16 or higher
-
Clone the repository:
git clone https://github.com/g3offrey/honeypot.git
-
Change to the project directory:
cd honeypot
-
Build the project:
go build ./cmd/server
-
Run the web server:
./server
By default, the web server listens on port 3000. You can change the port by setting a PORT
environment variable.
The default database path is honeypot.db
, you can change that by setting the DB_PATH
environment variable.
Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.
This project is licensed under the MIT License.