mBot

command module
v0.0.0-...-a19100d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 7 Imported by: 0

README

License Twitter Follow

mBot (A Go-Based Synack Mission Bot)

This mission bot contains functionality for onboarding, claiming missions, Discord notifications, and auto-relogin.


Pre-Requisites

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.

Discord Setup Instructions
  1. To get your Discord bot token, you will need to follow the steps at https://www.writebots.com/discord-bot-token/.
  2. Once you have your Discord bot token, add the CHANNEL_ID and DISCORD_TOKEN to config.json.
Authy Configuration
  1. To get your Authy Secret, you will need to follow the instructions at https://github.com/alexzorin/authy.
  2. Once you have your secret, add the AUTHY_SECRET to config.json along with your EMAIL_ADDRESS, and PASSWORD for Synack.

Installation

Building From Source

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

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

Mission Templates

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!

  1. Store your templates as JSON files in the templates/ folder
  2. Link the mission title to the template file in mission/templateMap.go.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL