mirror of
https://codeberg.org/vlw/honeypot.git
synced 2025-09-14 02:43:41 +02:00
feat: update README
This commit is contained in:
parent
d0005f3854
commit
12739eef8c
1 changed files with 40 additions and 2 deletions
42
README.md
42
README.md
|
@ -1,2 +1,40 @@
|
|||
# honeypot
|
||||
Pwn the low-fruit grasping pwner
|
||||
# 🍯 Honeypot
|
||||
Can the IP, HTTP Headers and more from anyone trying to log in to this site. Everything entered into this page will be saved to an SQLite database.
|
||||
|
||||

|
||||
|
||||
> **Note** This project is not related to D-Link in any form or fashion. I just chose their mydlink portal as it features both IP camera and WiFi router controls from the same interface, which I intend to implement fun dummies of in the future.
|
||||
|
||||
## Installation
|
||||
|
||||
1. **Install Pragma**
|
||||
|
||||
This website is built on the [Pragma web framwork](https://github.com/VictorWesterlund/pragma), and is meant as a showcase of some of it's features.
|
||||
|
||||
[**Install the Pragma framwork**](https://github.com/VictorWesterlund/pragma)
|
||||
|
||||
2. **Clone this repo**
|
||||
|
||||
Clone this repo anywhere Pragma can read its contents.
|
||||
|
||||
```
|
||||
$ git clone http://github.com/VictorWesterlund/honeypot
|
||||
```
|
||||
|
||||
3. **Set env var**
|
||||
|
||||
Make a copy of the `.env.example.ini` file
|
||||
|
||||
```
|
||||
$ cp -p .env.example.ini .env.ini
|
||||
```
|
||||
|
||||
and set the `DB_POT` variable to an absolute path to the SQLite database to create
|
||||
|
||||
```ini
|
||||
DB_POT="/home/me/pot.sql"
|
||||
````
|
||||
|
||||
## Data saved
|
||||
|
||||
The database will dump the contents of `$_POST` and `$_SERVER` into a JSON string along with the timestamp since Unix epoch the request was received.
|
||||
|
|
Loading…
Add table
Reference in a new issue