document pre-post login banner

This commit is contained in:
Michel Oosterhof 2018-06-23 17:06:51 +00:00
parent 080985c4fc
commit 558bd2a6e0
2 changed files with 6 additions and 0 deletions

View File

@ -217,3 +217,7 @@ pip install --upgrade -r requirements.txt
bin/cowrie start
```
# Modifying Cowrie
The pre-login banner can be set by creating the file `honeyfs/etc/issue.net`.
The post-login banner can be customized by editing `honeyfs/etc/motd`.

View File

@ -56,6 +56,8 @@ For Python dependencies, see requirements.txt
* `data/userdb.txt` - credentials allowed or disallowed to access the honeypot
* `dl/` - files transferred from the attacker to the honeypot are stored here
* `honeyfs/` - file contents for the fake filesystem - feel free to copy a real system here or use `bin/fsctl`
* `honeyfs/etc/issue.net` - pre-login banner
* `honeyfs/etc/motd` - post-login banner
* `log/cowrie.json` - transaction output in JSON format
* `log/cowrie.log` - log/debug output
* `log/tty/*.log` - session logs