Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
TokenDecryptionTool
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sadnan Kibria Kawshik
TokenDecryptionTool
Commits
62f3297f
Commit
62f3297f
authored
Jul 22, 2025
by
Sadnan Kibria Kawshik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
read me modified
parent
7dd4b210
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
README.md
README.md
+7
-2
main.py
main.py
+4
-1
No files found.
README.md
View file @
62f3297f
...
...
@@ -17,7 +17,13 @@ A command-line utility for decrypting tokens and validating JWTs using AES and J
git clone <repo-url>
cd
TokenDecryptionTool
```
2. Install dependencies:
2.
(
Recommended
)
Create a virtual environment:
```
bash
python
-m
venv venv
venv
\S
cripts
\a
ctivate
# On Windows
source
venv/bin/activate
# On macOS/Linux
```
3. Install dependencies:
```
bash
pip
install
-r
requirements.txt
```
...
...
@@ -38,4 +44,3 @@ Follow the interactive menu to decrypt tokens or validate JWTs.
## License
MIT
main.py
View file @
62f3297f
...
...
@@ -57,7 +57,7 @@ def jwt_menu(jwt, aes):
print
(
"Your JWT has been decrypted successfully."
)
print
(
"Decrypted JWT:"
,
decrypted_token
)
print
(
""
)
print
()
ch
=
input
(
"Do you want to see the claims? (y/n): "
)
.
strip
()
.
lower
()
if
ch
==
'y'
:
claims
=
jwt
.
parse_claims_from_jwt
(
decrypted_token
)
...
...
@@ -67,6 +67,9 @@ def jwt_menu(jwt, aes):
break
except
(
TokenDecryptionException
,
JwtException
)
as
e
:
print
(
"Failed:"
,
e
)
cont
=
input
(
"Do you want to continue? (y/n): "
)
.
strip
()
.
lower
()
if
cont
!=
'y'
:
break
elif
choice
==
'f'
:
token
=
input
(
"Enter JWT token: "
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment