Ticket #26 (closed defect: fixed)

Opened 5 years ago

Last modified 12 months ago

target from command line disappears after profile changed

Reported by: getxsick Owned by: boltrix
Priority: high Milestone: Umit 0.9.5 RC2
Component: Umit 0.9.5 Version: current svn
Keywords: Cc:

Description

Reproduce:

  1. select target
    • target appears on command line
  2. select profile
    • target disappears on command line

Change History

Changed 5 years ago by getxsick

  • version changed from 0.9.5RC1 to current svn

Changed 5 years ago by boltrix

  • status changed from new to closed
  • resolution set to fixed

Fixed this issue. It was related to this snippet of code:

if command.find('-iR') != -1 or command.find('-iL') != -1:
                self.toolbar.scan_button.set_sensitive(True)

                # For these nmap options, target is unecessary.
                # Removes unnecessary target from the command
                command = command.replace(target,'').strip()
            elif target != self.empty_target:
                self.toolbar.scan_button.set_sensitive(True)
            else:
                self.toolbar.scan_button.set_sensitive(False)

This is snippet is already fixed. Before fixing, there wasn't the elif statement, and the target removal was being executed for almost every case.

Changed 5 years ago by boltrix

Changed 12 months ago by wojtekrys38

Nasz portal to profesjonalna usługa - wymiana walut, która odbywa się w szybki i skuteczny sposób. Tysiące zadowoonych klientów może to potwierdzić.

Note: See TracTickets for help on using tickets.