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

Method _Base__cd

src/PHPExploitProcessor.py:159–164  ·  view source on GitHub ↗
(self, options: str)

Source from the content-addressed store, hash-verified

157 @brief See base class for details.
158 """
159 def _Base__cd(self, options: str):
160 out = self.__eval(f"chdir('{options}');"
161 f"header('{self.header}: ' . "
162 f"base64_encode(getcwd()));")
163 self.directory = base64.b64decode(out).decode()
164 print(self.directory)
165
166 """
167 @brief See base class for details.

Callers

nothing calls this directly

Calls 1

__evalMethod · 0.95

Tested by

no test coverage detected