This mission bot contains functionality for onboarding, claiming missions, Discord notifications, and auto-relogin.
If you want to get the most use out of mBot, you should follow the steps below to get a Discord bot token and Authy secret. These will allow you to both receive notifications and automatically log back in to the platform should your bot session get disconnected.
- To get your Discord bot token, you will need to follow the steps at https://www.writebots.com/discord-bot-token/.
- Once you have your Discord bot token, add the
CHANNEL_ID
andDISCORD_TOKEN
toconfig.json
.
- To get your Authy Secret, you will need to follow the instructions at https://github.com/alexzorin/authy.
- Once you have your secret, add the
AUTHY_SECRET
toconfig.json
along with yourEMAIL_ADDRESS
, andPASSWORD
for Synack.
If you prefer, you can build mBot straight from the source directory:
git clone https://github.com/Un4gi/mBot.git
cd mBot
go build .
Usage has been streamlined and no longer needs arguments passed. As long as you have everything configured properly, you can now simply execute the binary from the command line.
Example:
mBot
Good news... mBot now allows auto-population of the Intro/Testing Methodology/Conclusion fields for each claimed mission!
That's great... but how do I do it?
It's simple, really!
- Store your templates as JSON files in the
templates/
folder - Link the mission title to the template file in
mission/templateMap.go
.