Application for organizing constant monitoring of open ports on nodes. Used to monitor erroneous configurations on network equipment or hacker activity.
Download the required repository;
$ git clone https://github.com/grfc-ru/nmap-telegram-bot.git
Change conf/config.yaml
Run sudo docker-compose up -d
app:
update: 30 #time to rechecking hosts (sec)
telegram:
token: 244516775:AAGZп55654ASsFFpbjyNA9su6gQU-Qs #Token for you Telegram BOT
group: 123456 # Telegram you ID or group ID (use command for BOT /start
scan:
hosts:
- host: 8.8.8.0/24 #scan network
ports:
- 20-23
exclusion:
hosts:
- 8.8.8.1 #exclusion host
ports:
- 22 #exclusion port
- host: google.com #scan host
ports:
- 80 #scan port
- 443 #scan port
/start # Print you ID or group ID need you for config
/list # Print scanning hosts