mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-03 13:32:13 +00:00
🍯 T-Pot - The All In One Multi Honeypot Platform 🐝
tpotce_telekom_security | ||
README.md |
macOS & Windows
Sometimes it is just nice if you can spin up a T-Pot instance on macOS or Windows, i.e. for development, testing or just the fun of it. As Docker Desktop is rather limited not all honeypot types or T-Pot features are supported. Also remember, by default the macOS and Windows firewall are blocking access from remote, so testing is limited to the host. For production it is recommended to run T-Pot on Linux.
To get things up and running just follow these steps:
- Install Docker Desktop for macOS or Windows.
- Clone the GitHub repository:
git clone https://github.com/telekom-security/tpotce
(in Windows make sure the code is checked out withLF
instead ofCRLF
!) - Go to:
cd ~/tpotce
- Copy
cp compose/mac_win.yml ./docker-compose.yml
- Create a
WEB_USER
by running~/tpotce/genuser.sh
(macOS) or~/tpotce/genuserwin.ps1
(Windows) - Adjust the
.env
file by changingTPOT_OSTYPE=linux
to eithermac
orwin
:# OSType (linux, mac, win) # Most docker features are available on linux TPOT_OSTYPE=mac
- You have to ensure on your own there are no port conflicts keeping T-Pot from starting up.
- Start T-Pot:
docker compose up
ordocker compose up -d
if you want T-Pot to run in the background. - Stop T-Pot:
CTRL-C
(it if was running in the foreground) and / ordocker compose down -v
to stop T-Pot entirely.
Uninstall T-Pot
Uninstallation of T-Pot is only available on the supported Linux distros.
To uninstall T-Pot run ~/tpotce/uninstall.sh
and follow the uninstaller instructions, you will have to enter your password at least once.
Once the uninstall is finished reboot the machine sudo reboot