A fast JWT token cracker that supports multiple algorithms and cracking methods. Built in Go.
- Multiple Algorithms: Supports HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512
- Cracking Methods:
- Brute force with custom alphabet and max length
- Dictionary attack with password files
- Pattern-based cracking
- Token Analysis: Analyzes tokens for security issues
- Secret Generation: Generates common JWT secrets
- Progress Tracking: Real-time progress with ETA
- Parallel Processing: Multi-core support for faster cracking
go install github.com/elvisgraho/jwt-cracker-go@latest
jwt-cracker-go -t <jwt_token> [options]
-t
: JWT token to crack (required)-a
: Alphabet for brute force (default: a-zA-Z0-9)-max
: Maximum secret length (default: 12)-f
: Password file for dictionary attack-p
: Pattern for secret generation (base64, hex, uuid, email, date, ip)-alg
: Specify JWT algorithm-analyze
: Analyze token for security issues-generate
: Generate common JWT secrets-o
: Output file for results-v
: Verbose output-c
: Number of concurrent workers (0 = CPU count)-batch
: Batch size for processing (0 = auto)-force
: Force cracking even if token is invalid
- Brute force attack:
jwt-cracker-go -t eyJhbGciOiJIUzI1NiIs... -max 8
- Dictionary attack:
jwt-cracker-go -t eyJhbGciOiJIUzI1NiIs... -f passwords.txt
- Analyze token:
jwt-cracker-go -t eyJhbGciOiJIUzI1NiIs... -analyze
- Generate secrets:
jwt-cracker-go -generate -o secrets.txt
- Pattern-based cracking:
jwt-cracker-go -t eyJhbGciOiJIUzI1NiIs... -p base64
- Multi-core parallel processing
- Efficient batch processing
- Memory-optimized for large dictionaries
- Progress tracking with ETA
MIT License