Skip to content

Instantly share code, notes, and snippets.

@imparabl3
imparabl3 / jwt_attack_with_header_injection.py
Last active November 1, 2022 03:11
Creating JWT with HTTP response Header Injection
#!/usr/lib/env python3
# For more description with other attacks check out my BLOG ==> https://imparable.medium.com/attacking-json-web-tokens-jwts-d1d51a1e17cb
import OpenSSL
import base64
import json
import hashlib
import urllib