| 1 | Interface Editor |
|---|
| 2 | ================ |
|---|
| 3 | |
|---|
| 4 | .. sectionauthor:: Luís A. Bastião Silva |
|---|
| 5 | .. moduleauthor:: Luís A. Bastião Silva |
|---|
| 6 | |
|---|
| 7 | .. warning:: |
|---|
| 8 | |
|---|
| 9 | This documentation is not finished! Part or all of it's content may be |
|---|
| 10 | missing or inaccurate. As Umit is under constant development and |
|---|
| 11 | improvement, expect changes in this documentation at upcoming releases. |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | Introduction |
|---|
| 15 | ------------ |
|---|
| 16 | |
|---|
| 17 | Interface Editor is a customizer of Profile Editor and Wizard, so end user |
|---|
| 18 | should be able to add, edit and remove **Nmap** options. |
|---|
| 19 | |
|---|
| 20 | Profile Editor and Wizard are using XML files to load his options. Interface Editor |
|---|
| 21 | management this XMLs and show a graphical interface to handle it in run-time. |
|---|
| 22 | |
|---|
| 23 | What does it do? |
|---|
| 24 | ^^^^^^^^^^^^^^^^ |
|---|
| 25 | |
|---|
| 26 | * Add new Nmap Options |
|---|
| 27 | * Edit Nmap Options |
|---|
| 28 | * Remove Nmap Otions |
|---|
| 29 | * Customize the profiles (Create new tabs, organize options, etc) |
|---|
| 30 | * Rollback changes throught a Undo/Redo stack |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | Using Interface Editor |
|---|
| 34 | ---------------------- |
|---|
| 35 | |
|---|
| 36 | Interface Editor can be opened using: |
|---|
| 37 | |
|---|
| 38 | 1. **Use the key-stroke** |
|---|
| 39 | |
|---|
| 40 | * The key-stroke that open Interface Editor is CTRL + N |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | 2. **Access from the Main Menu** |
|---|
| 44 | |
|---|
| 45 | * Go to the *Main Menu* (the one on the top of the application) |
|---|
| 46 | :menuselection:`Profile --> Interface Editor` |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | Once Interface Editor is opened it have three modes of editing: |
|---|
| 50 | |
|---|
| 51 | * Options |
|---|
| 52 | |
|---|
| 53 | In this mode user can add new options, remove and edit options |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | * Profile |
|---|
| 57 | |
|---|
| 58 | Editing organize of Options in Profile Editor |
|---|
| 59 | |
|---|
| 60 | * Wizard |
|---|
| 61 | |
|---|
| 62 | Editing organize of Options in Profile Editor |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | Options Mode |
|---|
| 66 | ------------ |
|---|
| 67 | |
|---|
| 68 | The options is the part of create, edit and remove Nmap options. Furthermore |
|---|
| 69 | options added there will be available on Profile and Wizard mode. |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | .. _ieditormain: |
|---|
| 73 | .. figure:: static/ieditor_main.png |
|---|
| 74 | :align: center |
|---|
| 75 | |
|---|
| 76 | Interface Editor - Options Mode |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | As you can see in :ref:`Options Mode <ieditormain>` in the main frame (Options) you're able to add, edit or remove options. |
|---|
| 80 | |
|---|
| 81 | A new options have this parameters |
|---|
| 82 | |
|---|
| 83 | * Name |
|---|
| 84 | |
|---|
| 85 | Name of Option |
|---|
| 86 | |
|---|
| 87 | * Hint |
|---|
| 88 | |
|---|
| 89 | Description of Option |
|---|
| 90 | |
|---|
| 91 | * Need Root |
|---|
| 92 | |
|---|
| 93 | If "Need Root" is able this option will be not considered if Umit is running without |
|---|
| 94 | Administrator level. |
|---|
| 95 | |
|---|
| 96 | * Options + Args |
|---|
| 97 | |
|---|
| 98 | The options is the real option of Nmap like: `-b -oX -A -6 -p21` and others. |
|---|
| 99 | In some cases some arguments of **Nmap** can be mixed with arguments |
|---|
| 100 | An argument can be: |
|---|
| 101 | |
|---|
| 102 | - Level ( Increate a number ) |
|---|
| 103 | - Integer |
|---|
| 104 | - Float |
|---|
| 105 | - String |
|---|
| 106 | - Interface ( Option list) |
|---|
| 107 | - Chooser Path (Something to choose a file) |
|---|
| 108 | |
|---|
| 109 | |
|---|
| 110 | * Arguments |
|---|
| 111 | |
|---|
| 112 | The description of input parameters of Nmap introduced in "Args" button |
|---|
| 113 | |
|---|
| 114 | If you add a new option or delete it will be added to Undo/Redo stack and you can easier rollback changes. |
|---|
| 115 | |
|---|
| 116 | |
|---|
| 117 | Remove options |
|---|
| 118 | ^^^^^^^^^^^^^^ |
|---|
| 119 | |
|---|
| 120 | |
|---|
| 121 | If a user can remove an option it can be done, just selecting the option in the list |
|---|
| 122 | and then press in "Delete" button. |
|---|
| 123 | |
|---|
| 124 | |
|---|
| 125 | .. _ieditorremoveoption: |
|---|
| 126 | .. figure:: static/ieditor_option_dependence.png |
|---|
| 127 | :align: center |
|---|
| 128 | |
|---|
| 129 | Interface Editor - Remove Option with Dependence |
|---|
| 130 | |
|---|
| 131 | In :ref:`Remove Option <ieditorremoveoption>` there is dependence in Profile and Wizard. |
|---|
| 132 | If you remove the option it will removed also from Profile Editor and Wizard. |
|---|
| 133 | |
|---|
| 134 | |
|---|
| 135 | |
|---|
| 136 | |
|---|
| 137 | |
|---|
| 138 | Profile Mode |
|---|
| 139 | ------------ |
|---|
| 140 | |
|---|
| 141 | Profile Mode is able to customize the `ProfileEditor`. |
|---|
| 142 | |
|---|
| 143 | |
|---|
| 144 | .. _ieditorprofile: |
|---|
| 145 | .. figure:: static/ieditor_profile.png |
|---|
| 146 | :align: center |
|---|
| 147 | |
|---|
| 148 | Interface Editor - Profile Mode |
|---|
| 149 | |
|---|
| 150 | |
|---|
| 151 | The :ref:`Profile Mode <ieditorprofile>` have all the options of Profile Editor |
|---|
| 152 | with the same prespective. |
|---|
| 153 | |
|---|
| 154 | In the right side you have a list of all options that exists: **Option List**. |
|---|
| 155 | If you intend to insert you need to create a space for them. |
|---|
| 156 | A **voidplace** is a spot when you can insert new option. |
|---|
| 157 | It can be inserted by "Items" menu or by the toolbar in left side. |
|---|
| 158 | |
|---|
| 159 | |
|---|
| 160 | If you remove an option (just selecting, and press "Delele" or throught the tooolbar/menu) |
|---|
| 161 | automatically you get a voidplace. Then user will be able to exchange the option. |
|---|
| 162 | |
|---|
| 163 | In each option user can put the option up or down from the others just using menu "Items" |
|---|
| 164 | or using the left toolbar. |
|---|
| 165 | |
|---|
| 166 | *Sections* |
|---|
| 167 | |
|---|
| 168 | What user can do: |
|---|
| 169 | |
|---|
| 170 | * Add new section |
|---|
| 171 | |
|---|
| 172 | * Rename a existent section |
|---|
| 173 | |
|---|
| 174 | * Remove section |
|---|
| 175 | |
|---|
| 176 | * Move to left/right sections |
|---|
| 177 | |
|---|
| 178 | * Add/Remove all options in each section |
|---|
| 179 | |
|---|
| 180 | |
|---|
| 181 | All changes in this mode will be added to Undo/Redo stack. |
|---|
| 182 | |
|---|
| 183 | Wizard Mode |
|---|
| 184 | ----------- |
|---|
| 185 | |
|---|
| 186 | Wizard Mode works in the same way of Profile. |
|---|
| 187 | The prespective is different from the Wizard GUI. The most left section will |
|---|
| 188 | be the first one appearing in Wizard, and the most right will be the last. |
|---|
| 189 | |
|---|
| 190 | |
|---|
| 191 | |
|---|
| 192 | Configuration Files |
|---|
| 193 | ------------------- |
|---|
| 194 | |
|---|
| 195 | |
|---|
| 196 | Option Mode use: `options.xml` |
|---|
| 197 | |
|---|
| 198 | Profile Mode use: `profile_editor.xml` |
|---|
| 199 | |
|---|
| 200 | Wizard Mode use `wizard.xml` |
|---|