Sign inSign up

ilyaglow/cortex-tgbot

By ilyaglow

•Updated over 7 years ago

Telegram bot for Cortex engine made by CERT-BDF

Image
0

3.4K

ilyaglow/cortex-tgbot repository overview

Build Status Codacy Badge Coverage Status

⁠Cortex bot

Simple telegram bot to check indicators' reputation based on Cortex⁠ analyzers⁠ that can be easily written⁠ for any third party feeds or your own API service.

It simply uses a password for authentication, which is probably will be changed in the future prior to a role based model.

⁠Usage

Start bot from the source code (you can use compiled version⁠ too):

CORTEX_BOT_PASSWORD=PassphraseForAuth \
CORTEX_URL=https://your-cortex-instance \
CORTEX_API_KEY=YOUR-API-KEY \
TGBOT_API_TOKEN=TOKEN \
go run cmd/cortexbot/cortexbot.go
⁠Work through SOCKS5 proxy
SOCKS5_URL=socks5://user:password@server:port \
CORTEX_BOT_PASSWORD=PassphraseForAuth \
CORTEX_URL=https://your-cortex-instance \
CORTEX_API_KEY=YOUR-API-KEY \
TGBOT_API_TOKEN=TOKEN \
go run cmd/cortexbot/cortexbot.go

Add bot to your contacts, enter the passphrase and here you go - submit data and wait for results.

⁠Supported data types

By now the following data types are supported for lookup:

  • Domain
  • Hash
  • IP
  • URL
  • File
  • Email

PRs are welcome!

Tag summary

Content type

Image

Digest

Size

9.6 MB

Last updated

over 7 years ago

docker pull ilyaglow/cortex-tgbot