ticarpi / jwt_tool

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

Fix: RuntimeError - OrderedDict mutated during iteration #114

Open intrudir opened 5 months ago

intrudir commented 5 months ago

line 1499, in scanModePlaybook for payloadClaim in paylDict:

injectExternalInteractionHeader and injectExternalInteractionPayload attempt to modify the ordered dicts on the fly but python doesn't like that. Need to use a static copy of the headDict & paylDict when for looping the inject external interact funcs.

Added more secrets from https://github.com/wallarm/jwt-secrets/blob/master/jwt.secrets.list I sorted and uniqd before comitting