hero24/misc/free_shell/free_shell.py

16 lines
297 B
Python
Raw Normal View History

2024-10-25 20:20:12 +00:00
#!/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)