MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / nmap_version

Method nmap_version

pager_lib/nmap/nmap.py:173–179  ·  view source on GitHub ↗

returns nmap version if detected (int version, int subversion) or (0, 0) if unknown :returns: (nmap_version_number, nmap_subversion_number)

(self)

Source from the content-addressed store, hash-verified

171 return self._nmap_last_output
172
173 def nmap_version(self):
174 """
175 returns nmap version if detected (int version, int subversion)
176 or (0, 0) if unknown
177 :returns: (nmap_version_number, nmap_subversion_number)
178 """
179 return (self._nmap_version_number, self._nmap_subversion_number)
180
181 def listscan(self, hosts="127.0.0.1"):
182 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected