Skip to content

Scans info about devices at home network, and give this at telegram bot. Secure by ID

Notifications You must be signed in to change notification settings

savasick/network-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network-bot

telegram bot at aiogram3
scans network by python-nmap, and store devices at SQLite
then gets table to bot

1. change config

store telegram TOKEN at .env.example from BotFather
change admin ID with ur ID (u can get it from start command if don't know)
change period of scans at scan.py (optional)

2. install

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env.example .env
sudo apt install nmap python3-nmap -y

3. start scan

sudo python3 scan.py

4. start bot

may need new terminal session

# may need
sudo chown $USER:$USER net_devs.db
# start bot
python3 -m bot

About

Scans info about devices at home network, and give this at telegram bot. Secure by ID

Resources

Stars

Watchers

Forks

Languages