Skip to content

Commit

Permalink
Merge branch 'jwt-magic' of https://github.com/whs/CyberChef
Browse files Browse the repository at this point in the history
  • Loading branch information
n1474335 committed Oct 14, 2022
2 parents a63a130 + 674649c commit 937791d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/operations/JWTDecode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ class JWTDecode extends Operation {
this.inputType = "string";
this.outputType = "JSON";
this.args = [];
this.checks = [
{
pattern: "^ey([A-Za-z0-9_-]+)\\.ey([A-Za-z0-9_-]+)\\.([A-Za-z0-9_-]+)$",
flags: "",
args: []
},
];
}

/**
Expand Down

0 comments on commit 937791d

Please sign in to comment.