By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.
Oops! Something went wrong while submitting the form.
If you haven't done so yet, the fastest way to get started is to sign up for a free plan at https://mayhem4api.forallsecure.com/signup. If you already have an account, then you are ready to go for the next steps!
Installation
The Mayhem for API CLI is available to download for various common platforms.
ℹ️ The CLI will automatically keep itself updated when used as we make fixes and bug improvements.
ThemapiCLI communicates with our API usingOAuth 2.0 Bearer Tokens. The token will be read by the environment variable,MAPI_TOKEN, if available.
To get a new token, visit the "Manage API Tokens page" to create a new token,<NEW_TOKEN>, and login:
$ mapi login <NEW_TOKEN>
Welcome to Mayhem for API! We have saved a new API token in
your local settings at '/Users/mapi_fuzzer/Library/Preferences/rs.mapi/mapi.toml':
3BzW...
Setting the displayed API Token to the environment variable,MAPI_TOKEN, will allow you to run the CLI on other computers, such as part of your Continuous Integration build.
Now you can try contacting the API. Let's get the list of targets to which you have access:
mapi target list
You should see an (empty) list of API targets. Let's add our first target so that list won't stay empty for long.
Lessons from Today’s CrowdStrike Outage: How to Navigate Software Release Challenges
Let’s talk about the challenges of delivering global scale software and the things engineering teams can do to improve reliability.
Read More
Mayhem Makers
Meet the Mayhem Team at Blackhat 2024
We’re excited to announce that Mayhem will be attending and will have a booth at Black Hat 2024. We look forward to connecting with you!
Read More
Code Security
Finding FireWire (IEEE 1394) Vulnerabilities: CVE-2023-3159 and CVE-2024-27401
Testing low-level code such as IEEE 1394 (FireWire) can be a challenge. The solution lies in extracting kernel functions and testing them like unit tests.