Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unloaded wordlist file on snapcraft version #15

Open
hahwul opened this issue Oct 30, 2020 · 4 comments
Open

Unloaded wordlist file on snapcraft version #15

hahwul opened this issue Oct 30, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@hahwul
Copy link
Owner

hahwul commented Oct 30, 2020

similar issue
hahwul/dalfox#134

@hahwul
Copy link
Owner Author

hahwul commented Oct 30, 2020

before

$ jwt-hack version
v1.0.2

$ jwt-hack crack eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.5mhBHqs5_DTLdINd9p5m7ZJ6XD0Xc55kIaCRY5r6HRA -w ./samples/wordlist.txt
[*] Start dict cracking mode
INFO[0000] Loaded words (remove duplicated)              size=0
[+] Finish crack mode

upgrade patch version

$ sudo snap refresh jwt-hack

after

$ jwt-hack version
v1.0.3

$ jwt-hack crack eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.5mhBHqs5_DTLdINd9p5m7ZJ6XD0Xc55kIaCRY5r6HRA -w ./samples/wordlist.txt
[*] Start dict cracking mode
INFO[0000] Loaded words (remove duplicated)              size=16
INFO[0000] Invalid signature                             word=ds
INFO[0000] Invalid signature                             word=fas
INFO[0000] Invalid signature                             word=dfas
INFO[0000] Found! Token signature secret is test         Signature=Verified Word=test
INFO[0000] Invalid signature                             word=sadf
INFO[0000] Invalid signature                             word=df
INFO[0000] Invalid signature                             word=asdf
INFO[0000] Invalid signature                             word=efq
INFO[0000] Invalid signature                             word=1234
INFO[0000] Invalid signature                             word=qsf
INFO[0000] Invalid signature                             word=sad
INFO[0000] Invalid signature                             word=f
INFO[0000] Invalid signature                             word=asd
INFO[0000] Invalid signature                             word=zx
[+] Found! JWT signature secret: test
[+] Finish crack mode

@hahwul hahwul closed this as completed Oct 30, 2020
@hahwul hahwul added the bug Something isn't working label Oct 30, 2020
@w4iting4
Copy link

w4iting4 commented Jun 6, 2024

On my ubuntu system, when I use the software downloaded from the release page, the above situation will occur. Later, I changed to snap download and refresh, and the same situation happened. Are there any other solutions? My operating system is Linux iZ2zeijiz5yh3doymzxbqcZ 5.4.0-162-generic #179-Ubuntu SMP Mon Aug 14 08:51:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux, I am sure that the software version I downloaded is the linux version of amd64

@w4iting4
Copy link

w4iting4 commented Jun 6, 2024

The versions of the software packages is v1.1.2
image

@hahwul
Copy link
Owner Author

hahwul commented Jun 7, 2024

@w4iting4
Thank you for letting me know. I'll check it out soon!

@hahwul hahwul reopened this Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants