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

Method _Base__version

src/ASPClassicExploitProcessor.py:128–139  ·  view source on GitHub ↗
(self, options: str)

Source from the content-addressed store, hash-verified

126 @brief See base class for details.
127 """
128 def _Base__version(self, options: str):
129 res = self.__eval(
130 f"Response.AddHeader \"{self.header}\", "
131 "ScriptEngine & \" \" & "
132 "ScriptEngineBuildVersion & \" \" & "
133 "ScriptEngineMajorVersion & \".\" & "
134 "ScriptEngineMinorVersion & \"|\" & "
135 "request.serverVariables(\"server_software\"):")
136 print(
137 f"Scripting Engine: {res.split('|', 1)[0]}\n"
138 f"Web Server: {res.split('|', 1)[1]}"
139 )
140
141 """
142 @brief See base class for details.

Callers

nothing calls this directly

Calls 1

__evalMethod · 0.95

Tested by

no test coverage detected