Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Telegram Bot

NotificationsYou must be signed in to change notification settings

safernandez666/TelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram IoC Bot 🤖

Add your IoC to your Antivirus and Firewall Console by message. The Bot will take care of the hard work.

You can also keep updated with the list of Vulnerabilities of each day.

Create your bot with BotFather & generate your Token

How To

Steps

Download the Proyect

git clone git@github.com:safernandez666/TelegramBot.git

Build the Image

docker build -t bot.

Run the Container

docker run -e TOKEN_TELEGRAM="YOUR_TELEGRAM_TOKEN" -e TOKEN_VULDB="YOUR_VULDB_TOKEN" bot

Dialogue between Bot and the Operator, where you are informed of directions to parse and impact the consoles.

Working 🤖

Depending on the integration you want to do, CrowdStrike, Trend Micro, Palo Alto, etc. you can develop the method inengine.py once the parsing is done.

Sending IoC to the Bot

Impact on Apex One Trend Micro

Sending CVE's Of the Day

To consult theVulDB API and obtain the CVE's, you must generate a user and obtain the API Key. You will have the possibility to filter by vendor modifying your scope.

You can change the message time by modifying the following function found insend.py.

By default the message will be sent at 09:00 AM.

schedule.every().day.at("09:00").do(send_message, token, chat_id,get_notification())

Now you can have coffee ☕ checking what vulnerability should be addressed.

To send the message it is necessary to obtain the chat_id. The way to obtain it is as follows.

https://api.telegram.org/bot<YourBOTToken>/getUpdates

Or add @get_id_bot and ask! I hope it helps you, remember that I am not Dev.

About

Telegram Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp