jwt_tool icon indicating copy to clipboard operation
jwt_tool copied to clipboard

Supporting GET method

Open gl4nce opened this issue 4 years ago • 7 comments

I know this is really bad practise, but currently I'm pentesting an API which is sending the JWT as a simple get parameter. JWT_Tool does not support this case. Maybe it can/should be added for such cases?

Thanks for this great tool!

gl4nce avatar Mar 30 '21 14:03 gl4nce

Yes, I had this in a test the other week. I hacked a solution on the day, but I'll clean it up and add it to the next update. Thanks for the suggestion.

ticarpi avatar Mar 30 '21 14:03 ticarpi

Sounds good. Thanks a lot for your fast reply and the announced solution. 👍

gl4nce avatar Mar 30 '21 15:03 gl4nce

@gl4nce I just added this functionality with 5f78b56d56da4000c73fe4867a5ca7a8e7e43e83, enjoy!!

dillonfranke avatar Dec 26 '21 21:12 dillonfranke

Was this functionality removed? I'm only finding -pd option for POST DATA only, not get parameters. Either way, can we get some examples of how I should use the flag?

octoberfestuser avatar Jul 13 '22 20:07 octoberfestuser

Was this functionality removed? I'm only finding -pd option for POST DATA only, not get parameters. Either way, can we get some examples of how I should use the flag?

Hey @octoberfestuser, I submitted a pull request to add this functionality, but unfortunately it hasn't been merged in yet. You can pull down my fork though, which includes the functionality! https://github.com/dillonfranke/jwt_tool

Usage would be like this for parsing a token from a GET parameter:

python3 jwt_tool.py -t https://TARGET -gd "token=ey...." -M pb

dillonfranke avatar Jul 13 '22 20:07 dillonfranke

@dillonfranke Thanks a lot man!! such a fast reply as well I'm impressed xd

octoberfestuser avatar Jul 13 '22 20:07 octoberfestuser

Any update on a merge to the main branch ? :)

hugo-syn avatar Apr 26 '23 09:04 hugo-syn