Changeset 615

Show
Ignore:
Timestamp:
04/29/07 15:55:22 (6 years ago)
Author:
maxim-gavrilov
Message:

'Script Manager' draft

Location:
branch/max
Files:
1 added
6 modified

Legend:

Unmodified
Added
Removed
  • branch/max/config/options.xml

    r510 r615  
    402402          arguments="" 
    403403          need_root="0"/> 
     404 
    404405</nmap_options> 
  • branch/max/config/profile_editor.xml

    r510 r615  
    66    <group name="Target"/> 
    77    <group name="Source"/> 
     8    <group name="Scripts"/> 
    89    <group name="Other"/> 
    910    <group name="Advanced"/> 
     
    6768    <option_check label="Set network interface" option="Set network interface" arg_type="str"/> 
    6869  </Source> 
     70  <Scripts label="Scripts options"> 
     71  </Scripts> 
    6972  <Other label="Other options"> 
    7073    <option_check label="Extra options definied by user" option="Extra" arg_type="str"/> 
  • branch/max/umitCore/UmitDB.py

    r516 r615  
    153153            self.scans_id = kargs["scans_id"] 
    154154        else: 
    155             log.debug(">>>Ceating new scan result entry at data base") 
     155            log.debug(">>>Creating new scan result entry at data base") 
    156156            fields = ["scan_name", "nmap_xml_output", "date"] 
    157157             
  • branch/max/umitGUI/MainWindow.py

    r489 r615  
    4343from umitGUI.SearchWindow import SearchWindow 
    4444from umitGUI.BugReport import BugReport 
     45from umitGUI.ScriptManager import ScriptManagerWindow 
    4546 
    4647from umitCore.Paths import Path 
     
    203204                _('Compare Scan Results using Diffies'), 
    204205                self._load_diff_compare_cb), 
    205              
     206 
     207            ('Script Manager', 
     208                gtk.STOCK_INDEX, 
     209                _('Script Manager'), 
     210                "<Control>M", 
     211                _('Manage available scripts'), 
     212                self._load_script_manager_cb), 
    206213             
    207214            # Top Level 
     
    252259            <menuitem action='Search Scan'/> 
    253260            <menuitem action='Compare Results'/> 
     261            <menuitem action='Script Manager'/> 
    254262            <separator /> 
    255263            %s 
     
    842850        self.diff_window.show_all() 
    843851 
    844  
     852    def _load_script_manager_cb(self, widget = None, extra = None): 
     853        self.script_manager_window = ScriptManagerWindow() 
     854        self.script_manager_window.show_all() 
     855         
    845856class NonRootWarning (HIGAlertDialog): 
    846857    def __init__(self): 
  • branch/max/umitGUI/OptionBuilder.py

    r489 r615  
    9090        label = HIGEntryLabel(option_list.getAttribute(u'label')) 
    9191        opt_list = OptionList() 
    92          
     92 
    9393        for opt in options: 
    9494            opt_list.append(self.options.get_option\ 
  • branch/max/umitGUI/ProfileEditor.py

    r508 r615  
    4040profile_editor = Path.profile_editor 
    4141 
    42  
    4342class ProfileEditor(HIGWindow): 
    4443    def __init__(self, profile_name=None, delete=True):