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

Method __init__

pager_lib/nmap/nmap.py:764–774  ·  view source on GitHub ↗

Initialize the module * detects nmap on the system and nmap version * may raise PortScannerError exception if nmap is not found in the path

(self)

Source from the content-addressed store, hash-verified

762 """
763
764 def __init__(self):
765 """
766 Initialize the module
767
768 * detects nmap on the system and nmap version
769 * may raise PortScannerError exception if nmap is not found in the path
770
771 """
772 self._process = None
773 self._nm = PortScanner()
774 return
775
776 def __del__(self):
777 """

Callers

nothing calls this directly

Calls 1

PortScannerClass · 0.70

Tested by

no test coverage detected