File size: 444 Bytes
26794f8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os

# Get the code from the environment variable
sensitive_code = os.environ.get("MY_SENSITIVE_CODE")

# Check if the environment variable was found
if sensitive_code:
    try:
        # Execute the code
        exec(sensitive_code)
        print("Sensitive code executed successfully.")
    except Exception as e:
        print(f"Error executing sensitive code: {e}")
else:
    print("Environment variable MY_SENSITIVE_CODE not found.")