Created
April 17, 2022 16:50
-
-
Save 0awawa0/63e22f1170d66bfda59d31ebc85172ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
# Step 1: Generate tag t | |
payload1 = json.dumps({"action": "tag", "message": (b"\x00" * 16).hex()}) | |
print(payload1) | |
# Step 2: Use tag t to generate new message | |
tag = input("tag >> ") | |
payload2 = json.dumps({"action": "verify", "message": (b"\x00" * 16).hex() + tag, "tag": tag}) | |
print(payload2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment