MCPcopy Create free account
hub / github.com/C3ting/ARL / command_line

Method command_line

app/utils/nmap.py:557–566  ·  view source on GitHub ↗

returns command line used for the scan may raise AssertionError exception if called before scanning

(self)

Source from the content-addressed store, hash-verified

555 return listh
556
557 def command_line(self):
558 """
559 returns command line used for the scan
560
561 may raise AssertionError exception if called before scanning
562 """
563 assert 'nmap' in self._scan_result, 'Do a scan before trying to get result !'
564 assert 'command_line' in self._scan_result['nmap'], 'Do a scan before trying to get result !'
565
566 return self._scan_result['nmap']['command_line']
567
568 def scaninfo(self):
569 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected