A Discord bot to browse AttackerKB.
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.
So you guys can know what is running on your server and also so anyone can contribute.
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.
If you want to deploy another instance of the bot for whatever reason, here is how to.
# set enviroment variables
export AKB_TOKEN="xxxxxxxxxxxxxxxxxxx"
export AKB_API_KEY="xxxxxxxxxxxxxxxxxxx"
python main.py
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
- Thanks to @kevthehermit for helping me simplify my tool using his python library!
- Also, thank you to @Sam-Lane for the Docker implementation.