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

Method __eval

src/PHPExploitProcessor.py:110–116  ·  view source on GitHub ↗
(self, command: str)

Source from the content-addressed store, hash-verified

108 @throw CommandException if there is a connection error.
109 """
110 def __eval(self, command: str):
111 out = self._Base__send_message(
112 # f"error_reporting(0);"
113 f"chdir('{self.directory}');"
114 f"{command}"
115 f"exit();")
116 return out
117
118 """
119 @brief Check if a file exists on the server.

Callers 9

__runMethod · 0.95
__file_existsMethod · 0.95
_Base__pwdMethod · 0.95
_Base__lsMethod · 0.95
_Base__cdMethod · 0.95
_Base__catMethod · 0.95
_Base__rmMethod · 0.95
_Base__mkdirMethod · 0.95
_Base__reverse_shellMethod · 0.95

Calls 1

_Base__send_messageMethod · 0.95

Tested by

no test coverage detected