Skip to content

Commit

Permalink
release 1.4.0 (#44)
Browse files Browse the repository at this point in the history
* release 1.4.0

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
tyki6 and pre-commit-ci[bot] authored Jan 9, 2021
1 parent 1c71a50 commit b696c7d
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.4.0] - 09-01-2021
### Added
- user interface for beginner
- color output
- new jwt copied to clipboard
- github page
### Changed
- codecov config
- pyup config
- issue and pull requests templates
- requirements.txt
- fix #40 ( add --file option for --x5u option)
- help txt when help command is invoked
- update docs

## [1.3.0] - 20-12-2020
### Added
- version option
Expand Down
56 changes: 55 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,61 @@ pacman -S myjwt
[![Packaging status](https://repology.org/badge/vertical-allrepos/myjwt.svg)](https://repology.org/project/myjwt/versions)

# Usage
![Usage](https://github.com/mBouamama/MyJWT/blob/master/img/help.png)
```shell
$ myjwt --help
Usage: myjwt [OPTIONS] JWT

This cli is for pentesters, CTF players, or dev.
You can modify your jwt, sign, inject ,etc...
Full documentation is at http://myjwt.readthedocs.io.
If you see problems or enhancement send an issue.I will respond as soon as possible.
Enjoy :)
All new jwt will be copy to the clipboard.

Options:
--version Show the version and exit.
--full-payload TEXT New payload for your jwt.Json format Required.
-h, --add-header TEXT Add a new key, value to your jwt header, if key
is present old value will be replaced.Format:
key=value.

-p, --add-payload TEXT Add a new key, value to your jwt payload, if
key is present old value will be
replaced.Format: key=value.

--sign TEXT Sign Your jwt with key given.
--verify TEXT verify your key.
-none, --none-vulnerability Check None Alg vulnerability.
--hmac PATH Check RS/HMAC Alg vulnerability.
--bruteforce PATH Bruteforce to guess the secret used to sign the
token.

-c, --crack TEXT regex to iterate all string possibilities to
guess the secret used to sign the token.

--kid TEXT Kid Injection sql
--jku TEXT Jku Header to bypass authentication
--x5u TEXT X5u Header to bypass authentication
--crt TEXT For x5cHeader, force crt file
--key TEXT For jku or x5c Header, force private key to
your key file

--file TEXT For jku Header and x5u Header, force file name
--print Print Decoded JWT
-u, --url TEXT Url to send your jwt.
-m, --method TEXT Method use for send request to url.(Default
GET).

-d, --data TEXT Data send to your url.Format: key=value. if
value = MY_JWT value will be replace by new
jwt.

-c, --cookies TEXT Cookies to send to your url.Format: key=value.
if value = MY_JWT value will be replace by new
jwt.

--help Show this message and exit.
```
## Modify JWT
| Option | Type | Example | help|
Expand Down
15 changes: 15 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.4.0] - 09-01-2021
### Added
- user interface for beginner
- color output
- new jwt copied to clipboard
- github page
### Changed
- codecov config
- pyup config
- issue and pull requests templates
- requirements.txt
- fix #40 ( add --file option for --x5u option)
- help txt when help command is invoked
- update docs

## [1.3.0] - 20-12-2020
### Added
- version option
Expand Down
Binary file removed img/help.png
Binary file not shown.
4 changes: 2 additions & 2 deletions myjwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""autogenerated"""
__version__ = "1.3.0"
__commit__ = "b474c497dda4c7a809204b7221d78befd1d234c4"
__version__ = "1.4.0"
__commit__ = "34a82dc12b295caaec3b5803ff553713c44765e0"

0 comments on commit b696c7d

Please sign in to comment.