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

Method __file_exists

src/NodeExploitProcessor.py:106–112  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

104 @throw CommandException if there is a connection error.
105 """
106 def __file_exists(self, name: str):
107 out = self.__eval(
108 f"r.setHeader('{self.header}',"
109 f"Number(fs.existsSync('{name}')).toString());"
110 f"r.end();"
111 )
112 return out == '1'
113
114 """
115 @brief See base class for details.

Callers 1

_Base__uploadMethod · 0.95

Calls 1

__evalMethod · 0.95

Tested by

no test coverage detected