hero24/misc/free_shell/free_shell.py
2024-10-25 17:23:01 -04:00

16 lines
297 B
Python

#!/usr/bin/env python3
import os
import subprocess
print("Welcome to the free shell service!")
print("Your goal is to obtain a shell.")
command = [
"/bin/sh",
input("Choose param: "),
os.urandom(32).hex(),
os.urandom(32).hex(),
os.urandom(32).hex()
]
subprocess.run(command)