Ticket #182 (closed defect: fixed)
Nmap not found but scan still running
| Reported by: | rcarvalho | Owned by: | rcarvalho |
|---|---|---|---|
| Priority: | high | Milestone: | UmitWeb 0.1RC1 |
| Component: | umitWeb | Version: | current svn |
| Keywords: | subprocess, nmap | Cc: |
Description
When I try to perform a scan without nmap installed, an exception is outputted to log file, but the user is not being notified that nmap could not be found.
The exception is as follows:
Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner self.run() File "/usr/lib/python2.5/threading.py", line 446, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.5/site-packages/umitCore/nmapCommand.py", line 206, in run_scan shell=shell_state) File "/usr/lib/python2.5/subprocess.py", line 594, in __init__ errread, errwrite) File "/usr/lib/python2.5/subprocess.py", line 1091, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
OS: GNU/Linux (Fedora Core 10)
Kernel Version: 2.6.27.7-134.fc10.i686
Change History
Note: See
TracTickets for help on using
tickets.
