Skip to content

Commit d3a58cf

Browse files
carlospolopgitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent 2d9b1b5 commit d3a58cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pentesting-web/hacking-jwt-json-web-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Try to **change this header to an URL under your control** and check if any requ
161161
To forge a new token using a certificate controlled by you, you need to create the certificate and extract the public and private keys:
162162

163163
```bash
164-
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout attacker.key -outattacker.crt
164+
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout attacker.key -out attacker.crt
165165
openssl x509 -pubkey -noout -in attacker.crt > publicKey.pem
166166
```
167167

0 commit comments

Comments
 (0)