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

Method __file_exists

src/FlaskExploitProcessor.py:45–49  ·  view source on GitHub ↗
(self, file: str)

Source from the content-addressed store, hash-verified

43 @throw CommandException if there is a connection error.
44 """
45 def __file_exists(self, file: str):
46 res = self.__eval(
47 f"r.headers['{self.header}']="
48 f"int(__import__('os').path.exists('{file}'));")
49 return res == '1'
50
51 """
52 @brief See base class for details.

Callers 1

_Base__uploadMethod · 0.95

Calls 1

__evalMethod · 0.95

Tested by

no test coverage detected