Changeset 2954
- Timestamp:
- 06/04/08 00:26:34 (5 years ago)
- Files:
-
- 1 modified
-
trunk/umitGUI/ScanNotebook.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/umitGUI/ScanNotebook.py
r2932 r2954 442 442 if target == '': 443 443 target = self.empty_target 444 444 445 445 try: 446 446 cmd_profile = CommandProfile() … … 449 449 450 450 # scan button must be enable if -iR or -iL options are passed 451 if command.find('-iR') != -1 or command.find('-iL') != -1 \ 452 or target != self.empty_target: 451 if command.find('-iR') != -1 or command.find('-iL') != -1: 453 452 self.toolbar.scan_button.set_sensitive(True) 454 # removes unnecessary target from the command 453 454 # For these nmap options, target is unecessary. 455 # Removes unnecessary target from the command 455 456 command = command.replace(target,'').strip() 457 elif target != self.empty_target: 458 self.toolbar.scan_button.set_sensitive(True) 456 459 else: 457 460 self.toolbar.scan_button.set_sensitive(False)
