c-jwt-cracker Jwt 密钥爆破工具的安装使用

c-jwt-cracker 

 

项目地址:

https://github.com/brendan-rius/c-jwt-cracker

 

Build a Docker Image

docker build . -t jwtcrack

 

Run on Docker   docker 版使用方法

docker run -it --rm  jwtcrack eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.cAOIAifu3fykvhkHpbuhbvtH807-Z2rI1FS3vX1XMjE
 

Manual Compilation  手动安装

Make sure you have openssl's headers installed. On Ubuntu you can install them with apt-get install libssl-dev

make
 

If you use a Mac, you can install OpenSSL with brew install openssl, but the headers will be stored in a different location:

make OPENSSL=/usr/local/opt/openssl/include OPENSSL_LIB=-L/usr/local/opt/openssl/lib
 

Run  使用方法

$ > ./jwtcrack eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.cAOIAifu3fykvhkHpbuhbvtH807-Z2rI1FS3vX1XMjE
 
 

 

posted @ 2024-02-20 09:43  潜伏237  阅读(1400)  评论(0编辑  收藏  举报