c-jwt-cracker
c-jwt-cracker copied to clipboard
JWT brute force cracker written in C
`root@ubuntu:/home/ubuntu/ctf/c-jwt-cracker# ./jwtcrack eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.cAOIAifu3fykvhkHpbuhbvtH807-Z2rI1FS3vX1XMjE` `Cannot initialize the default message digest sha256, aborting`
``` Starting program: /tmp/c-jwt-cracker/jwtcrack eyJhbGciOiJuIiwiZCI6IkpEZ0xjUnNaRDNFSUt5NG1KUWtMY0JzWmNYdz0ifQ [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x000055555555567f in main (argc=, argv=) at main.c:230 230 g_payload_b64_len...
Hi, would it be possible to add a minimum length? Also can jwtcrack print out some progress? Thanks!
When I run the software on Ubuntu 18.04, I get this error message: ``` Cannot initialize the default message digest sha256, aborting ``` Following the Linux Die manual at [https://linux.die.net/man/3/evp_get_digestbyname](https://linux.die.net/man/3/evp_get_digestbyname):...
Your code needs to add OpenSSL_add_all_digests () in main.c; Otherwise, EVP_get_digestbyname () will return as a NULL pointer. Causes the program to fail to run normally. 您的代码需要在main.c中添加OpenSSL _ add _...
I implement the decoding using OpenSSL. But OpenSSL only handle base64, not base64url that is used for JWT. So I create a function to transform base64url to base64 and I...
Hello, Their is a reason of not using the base64 decoding function of openssl that is already linked with the binary ? https://github.com/openssl/openssl/blob/5477e84273e5877fad53d6b3fd794ed80c2c9524/crypto/ct/ct_b64.c#L24 Regards, BestPig
This changes the base image to the official alpine one, thereby allowing multiplatform support (tested on Raspi4 arm64)
There is a small typo in base64.c. Should read `ignore` rather than `ingore`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
Dear Sir, I would like to draw your kind attention i have questions that it is possible to generate JSON Web Token from SHA384 Hash. If it is possible please...