Changeset 3269

Show
Ignore:
Timestamp:
07/31/08 16:27:23 (5 years ago)
Author:
boltrix
Message:

Fixed a bug that was re-loading target and profile before scanning, overriding any manual changes made to the command. Working on scanning documentation also.

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/share/doc/umit/help.html

    r664 r3269  
    1616 
    1717      <ul> 
    18         <li><a href="nse_facilitator.html">NSE Facilitator</a></li> 
    1918        <li><a href="comparing_results.html">Comparing Results</a></li> 
    2019        <li><a href="profile_editor.html">Profile Editor</a></li> 
  • trunk/share/doc/umit/scanning/scanning.xml

    r664 r3269  
    9494    <title>Conducting a scan</title> 
    9595     
    96     <para># Selecting the profile</para> 
    97     <para># Customizing the command that is going to be executed</para> 
     96    <para>A profile is a set of options that is going to be used during the scan 
     97    process against the target(s) specified. Profiles are customizable through the 
     98    <emphasis>Profile Editor Window</emphasis>. After specifying a target, select 
     99    one of the profiles in the profile list, and watch the command in the field 
     100    get changed according to the profile selected. This is awesome if you always 
     101    have to run a scan with the same set of options. If you are a newbie, this is 
     102    awesome too, because you can use one of the preset profiles according to your 
     103    need.</para> 
     104    <para>Sometimes we need to fine tune a specific profile for a specific occasion 
     105    that is not likely to occour very often. In this case, it is not a good idea to 
     106    create a new profile, or to change an existing one. After selecting a target and  
     107    a profile, you can customize the command that will actually run, by editing it 
     108    directly in the command field.</para> 
     109    <para>There is a known issue regarding</para> 
    98110    <para># Nmap Output refresh</para> 
    99111    <section> 
  • trunk/umitGUI/ScanNotebook.py

    r3267 r3269  
    345345        self.empty_target = _("<target>") 
    346346         
    347         self.toolbar.target_entry.connect('changed',  
    348             self.refresh_command_target) 
     347        self.toolbar.target_entry.changed_handler = self.toolbar.target_entry.\ 
     348            connect('changed', self.refresh_command_target) 
    349349        self.toolbar.profile_entry.connect('changed', self.refresh_command) 
    350350 
     
    486486            self.set_tab_label(profile) 
    487487 
    488         if target != '':     
     488        if target != '': 
    489489            self.toolbar.add_new_target(target) 
     490             
     491            # TODO: Fix this workarround. The following line will set back the 
     492            # correct command to be executed after the refresh_command_target 
     493            # method that will be called by the targetcombo update method. 
     494            self.command_toolbar.command = command 
    490495 
    491496        if (command.find("-iR") == -1 and command.find("-iL") == -1): 
  • trunk/umitGUI/TargetCombo.py

    r3177 r3269  
    3333        self.completion.set_model(self.get_model()) 
    3434        self.completion.set_text_column(0) 
     35        self.changed_handler = None 
    3536 
    3637        self.update()