ticarpi / jwt_tool

:snake: A toolkit for testing, tweaking and cracking JSON Web Tokens
GNU General Public License v3.0
5.46k stars 670 forks source link

Include HTTP response status codes for the canary value checks #92

Open BreakfastSerial opened 1 year ago

BreakfastSerial commented 1 year ago

I'm working with an application, that replies with an empty body, but HTTP/1.1 204 No Content indicates a successful request. Apparently -cv "No Content" is not found in the responses by jwt_tool, as it reports:

Canary value (No Content) was not found in base request - check that this token is valid and you are still logged in

Even if I see the exact string in the HTTP response status code.

Can jwt_tool also include the status code for the canary value?