returns command line used for the scan may raise AssertionError exception if called before scanning
(self)
| 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 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected