A simple Telegram bot that runs nmap scans from your Termux terminal and sends results directly to your Telegram chat.
| Command | Description |
|---|---|
/start |
Show help |
/nmap <target> |
Service & version scan |
/full <target> |
Full port scan (all 65535) |
/os <target> |
OS detection |
/fast <target> |
Top 100 ports fast scan |
/shell <cmd> |
Run any custom command |
pkg update && pkg upgrade -y
pkg install python nmap -y
pip install python-telegram-bot
git clone https://github.com/brazilianfreestyle/nmap-bot.git
cd nmap-bot
cp config.example.py config.py
nano config.py # YOUR API AND CHAT ID
python bot.py
# Nmap-bot