root/trunk/share/doc/umit/src/interface_editor.rst @ 5632

Revision 5632, 4.5 kB (checked in by getxsick, 3 years ago)

rollback the trunk and then we will move it to the correct destination (with keeping history of changes)

  • Property svn:executable set to *
Line 
1Interface 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
14Introduction
15------------
16
17Interface Editor is a customizer of Profile Editor and Wizard, so end user
18should be able to add, edit and remove **Nmap** options.
19
20Profile Editor and Wizard are using XML files to load his options. Interface Editor
21management this XMLs and show a graphical interface to handle it in run-time.
22
23What 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
33Using Interface Editor
34----------------------
35
36Interface Editor can be opened using:
37
381. **Use the key-stroke**
39
40   * The key-stroke that open Interface Editor is CTRL + N
41
42
432. **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
49Once 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
65Options Mode
66------------
67
68The options is the part of create, edit and remove Nmap options. Furthermore
69options 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
79As you can see in :ref:`Options Mode <ieditormain>` in the main frame (Options) you're able to add, edit or remove options.
80
81A 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
114If you add a new option or delete it will be added to Undo/Redo stack and you can easier rollback changes.
115   
116   
117Remove options
118^^^^^^^^^^^^^^
119
120
121If a user can remove an option it can be done, just selecting the option in the list
122and 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
131In :ref:`Remove Option <ieditorremoveoption>` there is dependence in Profile and Wizard.
132If you remove the option it will removed also from Profile Editor and Wizard.
133
134
135
136
137
138Profile Mode
139------------
140
141Profile 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
151The :ref:`Profile Mode <ieditorprofile>` have all the options of Profile Editor
152with the same prespective.
153
154In the right side you have a list of all options that exists: **Option List**.
155If you intend to insert you need to create a space for them.
156A **voidplace** is a spot when you can insert new option.
157It can be inserted by "Items" menu or by the toolbar in left side.
158
159
160If you remove an option (just selecting, and press "Delele" or throught the tooolbar/menu)
161automatically you get a voidplace. Then user will be able to exchange the option.
162
163In each option user can put the option up or down from the others just using menu "Items"
164or using the left toolbar.
165
166*Sections*
167
168What 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
181All changes in this mode will be added to Undo/Redo stack.
182
183Wizard Mode
184-----------
185
186Wizard Mode works in the same way of Profile.
187The prespective is different from the Wizard GUI. The most left section will
188be the first one appearing in Wizard, and the most right will be the last.
189
190
191
192Configuration Files
193-------------------
194
195
196Option Mode use: `options.xml`
197
198Profile Mode use: `profile_editor.xml`
199
200Wizard Mode use `wizard.xml`
Note: See TracBrowser for help on using the browser.