Simple HS256 JWT token brute force cracker.
Effective only to crack JWT tokens with weak secrets. Recommendation: Use strong long secrets or RS256 tokens.
With npm:
npm install --global jwt-cracker
From command line:
jwt-cracker <token> [<alphabet>] [<maxLength>]
Where:
- token: the full HS256 JWT token string to crack
- alphabet: the alphabet to use for the brute force (default: "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789")
- maxLength: the max length of the string generated during the brute force (default: 12)
Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.
Licensed under MIT License. © Luciano Mammino.