Skip to content

horshark/akb-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AKB Discord bot

A Discord bot to browse AttackerKB.

Inviting the bot

No need to host it yourself! The bot can be invited using this link. If you really want to deploy it youself, instructions are at the bottom.

Why is the code on Github

So you guys can know what is running on your server and also so anyone can contribute.

Commands

help              | Get help.
assessment  <id>  | Get an assessment by its unique ID.
cve <id>          | Get a CVE by its code. (CVE-YEAR-XXXX)
ping              | Pong!
query <keywords>  | Search topics using keywords.
topic <id>        | Get a topic by its unique ID.
user <username>   | Get a user's profile by its username.

Deployment

If you want to deploy another instance of the bot for whatever reason, here is how to.

Run from command line

# set enviroment variables
export AKB_TOKEN="xxxxxxxxxxxxxxxxxxx"
export AKB_API_KEY="xxxxxxxxxxxxxxxxxxx"
python main.py

🐳 Running with Docker

First build the image

docker build -t akb-discord-bot .

Then run the container placing in your discord token and AKB api key in the --env vars.

docker run --rm --env DISCORD_TOKEN='' --env AKB_API_KEY='' akb-discord-bot

Credits

  • Thanks to @kevthehermit for helping me simplify my tool using his python library!
  • Also, thank you to @Sam-Lane for the Docker implementation.

Related projects

About

A Discord bot for AttackerKB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published