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

Method __file_exists

src/PHPExploitProcessor.py:124–129  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

122 @throw CommandException if there is a connection error.
123 """
124 def __file_exists(self, name: str):
125 out = self.__eval(
126 f"header('{self.header}: ' . strval(file_exists('{name}')));"
127 f"exit();"
128 )
129 return out == '1'
130
131 """
132 @brief See base class for details.

Callers 1

_Base__uploadMethod · 0.95

Calls 1

__evalMethod · 0.95

Tested by

no test coverage detected