Skip to content

Instantly share code, notes, and snippets.

@ChristopherKai
ChristopherKai / jwtBrute.py
Created February 24, 2020 04:06
jwtBrute.py
import jwt
import sys
# ./prog jwtstring dict.txt
print("Usage: >python jwtBrute.py jwtString pathToDict")
jwtString = sys.argv[1]
dictFile = sys.argv[2]
with open(dictFile) as f:
print('[!]cracking ' + jwtString + ':')