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

Method _Base__version

src/NodeExploitProcessor.py:93–98  ·  view source on GitHub ↗
(self, options: str)

Source from the content-addressed store, hash-verified

91 @brief See base class for details.
92 """
93 def _Base__version(self, options: str):
94 out = self.__eval(f"r.setHeader('{self.header}', "
95 f"Buffer.from(process.versions.node)."
96 f"toString('base64'));"
97 f"r.end();")
98 print(base64.b64decode(out).decode())
99
100 """
101 @brief Check if a file exists on the server.

Callers

nothing calls this directly

Calls 1

__evalMethod · 0.95

Tested by

no test coverage detected