Skip to content

Detects the algorithm of input JWT Token and provide options to generate the new JWT token based on the user selected algorithm.

Notifications You must be signed in to change notification settings

forkbomb444/JWTweak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JWTweak

GitHub issues GitHub stars

Introduction

With the global increase in JSON Web Token (JWT) usage, the attack surface has also increased significantly. Having said that, this utility is designed with the aim to generate the new JWT token with little or no time which would help security enthusiasts to find security flaws in JWT implementation. This tool is designed to automate the process of modifying the JWT algorithm of input JWT Token and then generate the new JWT based on the new algorithm.

Requirements

  • Python 3
  • Valid JWT Token

Features

  • Detects the algorithm of the input JWT Token
  • Base64 decode the input JWT Token
  • Generate new JWT Token by changing the algorithm of the input JWT to 'None'
  • Generate new JWT Token by changing the algorithm of the input JWT to 'HS256'
  • Generate new JWT Token by changing the algorithm of the input JWT to 'HS384'
  • Generate new JWT Token by changing the algorithm of the input JWT to 'HS512'

Download Link

JWTweak.py

POC

jwtweak

Read where it can help

Please connect, if you have any query, suggestion or feedback.

Rishu Ranjan

About

Detects the algorithm of input JWT Token and provide options to generate the new JWT token based on the user selected algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%