Skip to content

Telegram bot to notify about new Web Security Academy labs

Notifications You must be signed in to change notification settings

vavkamil/web-security-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

web-security-notify.py

Telegram bot to notify me about new Web Security Academy labs


Example

PoC


Usage

Run is the screen, or modify the script to use cron

$ screen -S web-security-notify
$ python web-security-notify.py
$ Ctrl-a + d

Settings

Change ID of the last Web Security Academy topic

# last_category_id = 19

Change schedule interval

# schedule.every(10).seconds.do(check_new_categories)
# schedule.every(10).minutes.do(check_new_categories)
# schedule.every().hour.do(check_new_categories)

Installation

$ pip3 install -r requirements.txt

  1. On Telegram, contact @BotFather, send him a "/start" message
  2. Send another "/newbot" message, then follow the instructions
  3. Replace "telegram_token" with your API token
  4. Add your newly created bot to friends
  5. On Telegram, contact @userinfobot, send him a "/start" message
  6. Replace "telegram_chat_id" with your ID

About

Telegram bot to notify about new Web Security Academy labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages