Cobalt strike CNA script to notify you via Discord whenever there is a new beacon

Cobalt strike CNA script to notify you via Discord whenever there is a new beacon.
Make sure you have python3 installed
Steps:
- Create a Discord Server and get a Webhook URL (Server settings > Integration > Webhooks > Create/New_Webhooks > Copy Webhook URL)
- Paste the URL in request.py
- Edit the path of request.py in notify.cna
- Edit the message as you want (Optional)
- Run the cna as following:
./agscript [C2 IP] [C2 Port] [user name] [C2 password] [path to cna]
Reference:
https://download.cobaltstrike.com/aggressor-script/functions.html
https://stackoverflow.com/questions/62731561/discord-send-message-only-from-python-app-to-discord-channel-one-way-communic
GitHub