Commits

Skin36  committed 7851960

remake to PyQt4

  • Participants
  • Parent commits abc4370

Comments (0)

Files changed (7)

File gerix-wifi-cracker-master/README

 REQUISITES:
 
 You need the modules:
-qt (v.3)
+qt (v.4)
 
 LAUNCH:
 

File gerix-wifi-cracker-master/gerix.py

-#!/usr/bin/python
 
-import sys
 import os
 import time
 import re
 import sqlite3
 import binascii
 
-from qt import *
+
 from threading import Thread
-
-from gerix_gui import *
-
+from PyQt4 import QtGui, QtGui
+from gerix_gui import Ui_Main_window
+#from PyQt4.QtGui import QApplication
+from PyQt4.QtGui import QMainWindow
 from gerix_config import *
 
-main_window = '' # program main window
 
 #
 # Hex key to ascii
     def run(self):
 
         # exec command
-        print self.command
+        print (self.command)
 
         # use terminal emulator?
         if self.use_term:
 # For the callbacks function
 # extend Main_window class (that contains the GUI)
 #
-class Main_window_ex(Main_window):
+class Main_window_ex(QMainWindow, Ui_Main_window):
+##########################    
 
+#class Main_window_ex(Main_window):
     #
     # Print the output in the GUI with a timestamp and with exit_code
     # this function should be used instead of other form of output printing
     #
+    def __init__(self, parent = None):
+        """
+        Default Constructor. It can receive a top window as parent. 
+        """
+        QMainWindow.__init__(self, parent)
+        self.setupUi(self)
+    
+    
+    
+    
+    
     def output(self, out_text, exit_code):
         # print the output in the text_output widget (QTextEdit)
         # success
         
         elif self.intf_mode == "Monitor":
             status = commands.getstatusoutput('airmon-ng stop '  + self.periferica)
-            if status[0] <> 0:
+            if status[0] != 0:
                 self.output(status[1], status[0])
             else:
                 self.output("Monitor off: " + self.periferica, status[0])
         else:
             status = commands.getstatusoutput('airmon-ng stop '  + self.periferica + '; airmon-ng start ' + self.periferica)
-            if status[0] <> 0:
+            if status[0] != 0:
                 self.output(status[1], status[0])
             else:
                 self.output("Monitor on: " + self.periferica, status[0])
             command = 'airbase-ng -e ' + ap_essid + ' -c ' + ap_chan
             if ap_wep:
                 command += ' -W 1'
-            if ap_wpa and str(ap_wpa_type) <> "":
+            if ap_wpa and str(ap_wpa_type) != "":
                 command += ' -z ' + str(ap_wpa_type)
-            if ap_wpa2 and str(ap_wpa_type) <> "":
+            if ap_wpa2 and str(ap_wpa_type) != "":
                 command += ' -Z ' + str(ap_wpa_type)
             if ap_wep_key!='':
                 command += ' -w ' + ap_wep_key
             # backup of old MAC...
             commands.getstatusoutput('if [ -e ' + config_dir + '.macaddress-backup ]; then echo ""; else ifconfig ' + self.change_mac_int + ' | grep HWaddr | sed \'s/^.*HWaddr //\' > ' + config_dir + '.macaddress-backup; fi')
             status = commands.getstatusoutput('ifconfig ' + self.change_mac_int + ' down hw ether ' + self.change_mac_mac)
-            if status[0] <> 0:
+            if status[0] != 0:
                 self.output(status[1], status[0])
                 return
             status = commands.getstatusoutput('ifconfig ' + self.change_mac_int + ' up')
-            if status[0] <> 0:
+            if status[0] != 0:
                 self.output(status[1], status[0])
                 return
             self.output('Mac address of interface ' + self.change_mac_int + ' changed in ' + self.change_mac_mac, status[0])
 
         # disable interface
         status = commands.getstatusoutput('ifconfig '  + self.periferica + ' down')
-        if status[0] <> 0:
+        if status[0] != 0:
             self.output(status[1], status[0])
             return
         
         # random MAC address
         status = commands.getstatusoutput('macchanger --random '  + self.periferica)
-        if status[0] <> 0:
+        if status[0] != 0:
             self.output(status[1], status[0])
             return
 
         # re-enable interface
         status = commands.getstatusoutput('ifconfig '  + self.periferica + ' up')
-        if status[0] <> 0:
+        if status[0] !=0:
             self.output(status[1], status[0])
             return
 
     #
     def select_interface(self, interface):
         
-        numrows = self.table_interfaces.numRows()
+        numrows = self.table_interfaces.rowCount()
 
         for i in range(0, numrows):
             if str(self.table_interfaces.text(i, 0)) == interface:
     def slot_reload_interfaces(self):
         
         # clear
-        numrows = self.table_interfaces.numRows()
+        numrows = self.table_interfaces.rowCount()
         for i in range(0, numrows):
             self.table_interfaces.removeRow(0)
         
             # get mode
             mode = commands.getoutput("iwconfig " + intf[0] + " | tr ' ' '\n' | grep -i 'Mode:' | tr ':' ' ' | awk '{print $2 }'")
             # fill table
-            self.table_interfaces.insertRows(0)
-            self.table_interfaces.setText( 0, 0, intf[0])
-            self.table_interfaces.setText( 0, 1, current_mac)
-            self.table_interfaces.setText( 0, 2, intf[2])
-            self.table_interfaces.setText( 0, 3, intf[3])
-            self.table_interfaces.setText( 0, 4, mode)
+            
+            
+            self.table_interfaces.insertRow(0)
+ 
+
+            self.table_interfaces.setItem( 0, 0, QtGui.QTableWidgetItem((intf[0])))
+            self.table_interfaces.setItem( 0, 1, QtGui.QTableWidgetItem((current_mac)))
+            self.table_interfaces.setItem( 0, 2, QtGui.QTableWidgetItem((intf[2])))
+            self.table_interfaces.setItem( 0, 3, QtGui.QTableWidgetItem((intf[3])))
+            self.table_interfaces.setItem( 0, 4, QtGui.QTableWidgetItem((mode)))
 
         self.table_interfaces.clearSelection()
 
             return
         
         # clear
-        numrows = self.table_networks.numRows()
+        numrows = self.table_networks.rowCount()
         for i in range(0, numrows):
             self.table_networks.removeRow(0)
 
         thr.start()
         
         status = commands.getstatusoutput(scan_command)
-        if status[0] <> 0:
+        if status[0] != 0:
             self.output(status[1], status[0])
         else:
             self.output("rescan networks",status[0])
             pwr     = match.group(7)
             essid   = match.group(8)
 
-            self.table_networks.insertRows(0)
-            self.table_networks.setText(0, 0, essid)
-            self.table_networks.setText(0, 1, bssid)
-            self.table_networks.setText(0, 2, channel)
-            self.table_networks.setText(0, 3, pwr)
-            self.table_networks.setText(0, 4, enc + ' ' + cipher + ' ' + auth)
-            #self.table_networks.setText(0, 5, mb)
+            self.table_networks.insertRow(0)
+            self.table_networks.setItem(0, 0, QtGui.QTableWidgetItem((essid)))
+            self.table_networks.setItem(0, 1,QtGui.QTableWidgetItem((bssid)))
+            self.table_networks.setItem(0, 2, QtGui.QTableWidgetItem((channel)))
+            self.table_networks.setItem(0, 3, QtGui.QTableWidgetItem((pwr)))
+            self.table_networks.setItem(0, 4, QtGui.QTableWidgetItem((enc + ' ' + cipher + ' ' + auth)))
+            self.table_networks.setItem(0, 5, QtGui.QTableWidgetItem((mb)))
 
         self.table_networks.clearSelection()
         commands.getstatusoutput('rm /tmp/gerix-scan*')
         key = commands.getoutput("cat " + aircrack_log + " | grep 'KEY FOUND' | tr '[]' '\n' | egrep '([a-fA-F0-9]:)+' | tr -d ' \t'")
 
         # insert a row in the database
-        self.table_database.insertRows(0)
-        self.table_database.setText(0, 0, self.essid)
-        self.table_database.setText(0, 1, self.ac)
-        self.table_database.setText(0, 2, self.canale)
-        self.table_database.setText(0, 3, key)
-        self.table_database.setText(0, 4, key_to_ascii(key))
+        self.table_database.insertRow(0)
+        self.table_database.setItem(0, 0, QtGui.QTableWidgetItem((self.essid)))
+        self.table_database.setItem(0, 1, QtGui.QTableWidgetItem((self.ac)))
+        self.table_database.setItem(0, 2, QtGui.QTableWidgetItem((self.canale)))
+        self.table_database.setItem(0, 3, QtGui.QTableWidgetItem((key)))
+        self.table_database.setItem(0, 4, QtGui.QTableWidgetItem((key_to_ascii(key))))
         
         
     #
     # Add an entry to the database table
     #
     def slot_database_add(self):
-        self.table_database.insertRows(0)
+        self.table_database.insertRow(0)
 
 
     #
         c.execute('''create table if not exists keys (essid text, bssid text, channel text, key text)''')
 
         # clear GUI table
-        numrows = self.table_database.numRows()
+        numrows = self.table_database.rowCount()
         for i in range(0, numrows):
             self.table_database.removeRow(0)
 
             key     = row[3]
             ascii   = key_to_ascii(key)
 
-            self.table_database.insertRows(0)
-            self.table_database.setText(0, 0, essid)
-            self.table_database.setText(0, 1, bssid)
-            self.table_database.setText(0, 2, channel)
-            self.table_database.setText(0, 3, key)
-            self.table_database.setText(0, 4, ascii)
+            self.table_database.insertRow(0)
+            self.table_database.setItem(0, 0, QtGui.QTableWidgetItem((essid)))
+            self.table_database.setItem(0, 1, QtGui.QTableWidgetItem((bssid)))
+            self.table_database.setItem(0, 2, QtGui.QTableWidgetItem((channel)))
+            self.table_database.setItem(0, 3, QtGui.QTableWidgetItem((key)))
+            self.table_database.setItem(0, 4, QtGui.QTableWidgetItem((ascii)))
 
         # close the cursor
         c.close()
         c.execute('''create table keys (essid text, bssid text, channel text, key text)''')
 
         # read GUI table
-        numrows = self.table_database.numRows()
+        numrows = self.table_database.rowCount()
 
         for i in range(0, numrows):
             essid   = str(self.table_database.text(i, 0))
 
     def slot_interface_selected(self):
         selrow = self.table_interfaces.currentRow()
+        
         if selrow == -1:
             self.periferica = ''
             self.mymon      = ''
             self.intf_mode  = ''
             return
 
-        self.periferica = str(self.table_interfaces.text(selrow, 0))
-        self.mymon      = str(self.table_interfaces.text(selrow, 0))
-        self.mymac      = str(self.table_interfaces.text(selrow, 1))
-        self.intf_mode  = str(self.table_interfaces.text(selrow, 4))
-
+        self.periferica = str(self.table_interfaces.item(selrow, 0))
+        self.mymon      = str(self.table_interfaces.item(selrow, 0))
+        self.mymac      = str(self.table_interfaces.item(selrow, 1))
+        self.intf_mode  = str(self.table_interfaces.item(selrow, 4))
+        print self.periferica 
         #self.change_mac_int = self.mymon
         #self.line_mac_change_int.setText(self.mymon)
         #self.change_mac_mac = self.mymac 
         self.rtablesfile1 = str(self.line_crack_wpa_rainbow_tables_file.text())
 
     def slot_line_gath_logs(self):
-        config_dir = str(self.line_gath_logs.text())
+        self.config_dir = str(self.line_gath_logs.text())
 
     def slot_line_mac_change_int(self):
         self.change_mac_int = str(self.line_mac_change_int.text())
 
     # check config dir
     if not os.path.exists(config_dir):
-        os.mkdir(config_dir)
-        #commands.getstatusoutput('zenity --info --window-icon=/usr/local/buc/icons/attenzione.png --title="Gerix WiFi" --text="Hello and Thanks for using Gerix Wifi Cracker this is the first run, and ~/.gerix-wifi is now created."')
+        os.mkdir(config_dir)    
+        #subprocess.getstatusoutput('zenity --info --window-icon=/usr/local/buc/icons/attenzione.png --title="Gerix WiFi" --text="Hello and Thanks for using Gerix Wifi Cracker this is the first run, and ~/.gerix-wifi is now created."')
 
-    print '\nConfig directory OK\n'
+    print ('\nConfig directory OK\n')
 
 #
 # This function perform various checks
 # MAIN FUNCTION
 # The program starts here
 #
-def main():
-    global main_window
-
-    app = QApplication(sys.argv)
-    main_window = Main_window_ex()
-    app.setMainWidget(main_window)
-
-    # initialize config directory
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    ui = Main_window_ex()
+   
+# initialize config directory
     init_config_dir()
 
-    # change working directory
+# change working directory
     os.chdir(config_dir)
+	
+# performs various checks
+    check_all()
+ 
+# config init function
+    config_init()
+# config end function
+    config_end() 
 
-    # performs various checks
-    check_all()
+# fill the GUI
+    
+    ui.fill_input_fields()  
 
-    # config init function
-    config_init()
+#    ui.fill_input_fields()
+    ui.show()
+    sys.exit(app.exec_())
 
-    # init main window
-    main_window.init()
-    
-    # fill the GUI
-    main_window.fill_input_fields()
 
-    # show main windows
-    main_window.show()
 
-    # launch the GUI
-    app.exec_loop()
+ 
 
-    # config end function
-    config_end()
 
-main()
 
+

File gerix-wifi-cracker-master/gerix.ui

-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>Main_window</class>
-<widget class="QMainWindow">
-    <property name="name">
-        <cstring>Main_window</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>648</width>
-            <height>642</height>
-        </rect>
-    </property>
-    <property name="paletteBackgroundColor">
-        <color>
-            <red>255</red>
-            <green>255</green>
-            <blue>255</blue>
-        </color>
-    </property>
-    <property name="caption">
-        <string>Gerix wifi cracker</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QLabel" row="2" column="1">
-            <property name="name">
-                <cstring>pixmapLabel1</cstring>
-            </property>
-            <property name="pixmap">
-                <pixmap>image0</pixmap>
-            </property>
-            <property name="scaledContents">
-                <bool>true</bool>
-            </property>
-        </widget>
-        <spacer row="2" column="0">
-            <property name="name">
-                <cstring>spacer1</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>31</width>
-                    <height>20</height>
-                </size>
-            </property>
-        </spacer>
-        <spacer row="2" column="2">
-            <property name="name">
-                <cstring>spacer2</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>61</width>
-                    <height>31</height>
-                </size>
-            </property>
-        </spacer>
-        <widget class="QTextEdit" row="1" column="0" rowspan="1" colspan="3">
-            <property name="name">
-                <cstring>text_output</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>4</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="maximumSize">
-                <size>
-                    <width>32767</width>
-                    <height>100</height>
-                </size>
-            </property>
-            <property name="textFormat">
-                <enum>RichText</enum>
-            </property>
-            <property name="text">
-                <string></string>
-            </property>
-            <property name="wordWrap">
-                <enum>WidgetWidth</enum>
-            </property>
-            <property name="readOnly">
-                <bool>true</bool>
-            </property>
-        </widget>
-        <widget class="QTabWidget" row="0" column="0" rowspan="1" colspan="3">
-            <property name="name">
-                <cstring>tabWidget2</cstring>
-            </property>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>tab</cstring>
-                </property>
-                <attribute name="title">
-                    <string>Welcome</string>
-                </attribute>
-                <grid>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLabel" row="0" column="1">
-                        <property name="name">
-                            <cstring>pixmapLabel2</cstring>
-                        </property>
-                        <property name="pixmap">
-                            <pixmap>image1</pixmap>
-                        </property>
-                        <property name="scaledContents">
-                            <bool>true</bool>
-                        </property>
-                    </widget>
-                    <spacer row="0" column="0">
-                        <property name="name">
-                            <cstring>spacer3</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Horizontal</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>101</width>
-                                <height>41</height>
-                            </size>
-                        </property>
-                    </spacer>
-                    <spacer row="0" column="2">
-                        <property name="name">
-                            <cstring>spacer4</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Horizontal</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>21</width>
-                                <height>20</height>
-                            </size>
-                        </property>
-                    </spacer>
-                    <widget class="QLabel" row="1" column="0" rowspan="1" colspan="3">
-                        <property name="name">
-                            <cstring>textLabel1</cstring>
-                        </property>
-                        <property name="sizePolicy">
-                            <sizepolicy>
-                                <hsizetype>1</hsizetype>
-                                <vsizetype>5</vsizetype>
-                                <horstretch>0</horstretch>
-                                <verstretch>0</verstretch>
-                            </sizepolicy>
-                        </property>
-                        <property name="minimumSize">
-                            <size>
-                                <width>600</width>
-                                <height>0</height>
-                            </size>
-                        </property>
-                        <property name="mouseTracking">
-                            <bool>false</bool>
-                        </property>
-                        <property name="text">
-                            <string>Hello and Welcome!&lt;br&gt;
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Main_window</class>
+ <widget class="QMainWindow" name="Main_window">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>648</width>
+    <height>642</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Gerix wifi cracker</string>
+  </property>
+  <widget class="QWidget" name="widget">
+   <layout class="QGridLayout">
+    <item row="0" column="0" colspan="3">
+     <widget class="QTabWidget" name="tabWidget2">
+      <property name="currentIndex">
+       <number>0</number>
+      </property>
+      <widget class="QWidget" name="tab">
+       <attribute name="title">
+        <string>Welcome</string>
+       </attribute>
+       <layout class="QGridLayout">
+        <item row="0" column="1">
+         <widget class="QLabel" name="pixmapLabel2">
+          <property name="pixmap">
+           <pixmap>gerix_wifi_cracker.png</pixmap>
+          </property>
+          <property name="scaledContents">
+           <bool>true</bool>
+          </property>
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+          <property name="openExternalLinks">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item row="0" column="0">
+         <spacer name="spacer3">
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeType">
+           <enum>QSizePolicy::Expanding</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>101</width>
+            <height>41</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item row="0" column="2">
+         <spacer name="spacer4">
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeType">
+           <enum>QSizePolicy::Expanding</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>21</width>
+            <height>20</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item row="1" column="0" colspan="3">
+         <widget class="QLabel" name="textLabel1">
+          <property name="sizePolicy">
+           <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+           </sizepolicy>
+          </property>
+          <property name="minimumSize">
+           <size>
+            <width>600</width>
+            <height>0</height>
+           </size>
+          </property>
+          <property name="mouseTracking">
+           <bool>true</bool>
+          </property>
+          <property name="text">
+           <string>Hello and Welcome!&lt;br&gt;
 Gerix Wifi Cracker is a GUI that can help you to work in Wireless 802.11 Penetration Test.&lt;br&gt;
 Created by Emanuele `emgent` Gentili and Emanuele `crossbower` Acri from Gerix.IT company. The tool is under GPL 2 License.
 &lt;br&gt; enJoy! &lt;br&gt;</string>
-                        </property>
-                        <property name="textFormat">
-                            <enum>AutoText</enum>
-                        </property>
-                    </widget>
-                </grid>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
+          </property>
+          <property name="textFormat">
+           <enum>Qt::AutoText</enum>
+          </property>
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+      <widget class="QWidget" name="TabPage">
+       <attribute name="title">
+        <string>Configuration</string>
+       </attribute>
+       <layout class="QGridLayout">
+        <item row="0" column="0">
+         <widget class="QToolBox" name="toolBox3_2">
+          <property name="currentIndex">
+           <number>0</number>
+          </property>
+          <widget class="QWidget" name="page1">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>608</width>
+             <height>408</height>
+            </rect>
+           </property>
+           <attribute name="label">
+            <string>General configurations and network selection.</string>
+           </attribute>
+           <layout class="QGridLayout">
+            <item row="1" column="0">
+             <widget class="QLabel" name="textLabel3_5_6_2_2">
+              <property name="text">
+               <string>Select the &lt;b&gt;interface&lt;/b&gt;:</string>
+              </property>
+              <property name="wordWrap">
+               <bool>false</bool>
+              </property>
+             </widget>
+            </item>
+            <item row="4" column="0">
+             <widget class="QLabel" name="textLabel3_5_6_2">
+              <property name="text">
+               <string>Select the &lt;b&gt;target network&lt;/b&gt;:</string>
+              </property>
+              <property name="wordWrap">
+               <bool>false</bool>
+              </property>
+             </widget>
+            </item>
+            <item row="0" column="0">
+             <layout class="QGridLayout">
+              <item row="0" column="0" colspan="2">
+               <widget class="QLabel" name="textLabel3_4_4">
+                <property name="text">
+                 <string>Directory for session files (logs, .cap, ...):</string>
                 </property>
-                <attribute name="title">
-                    <string>Configuration</string>
-                </attribute>
-                <grid>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QToolBox" row="0" column="0">
-                        <property name="name">
-                            <cstring>toolBox3_2</cstring>
-                        </property>
-                        <property name="currentIndex">
-                            <number>0</number>
-                        </property>
-                        <widget class="QWidget">
-                            <property name="name">
-                                <cstring>page1</cstring>
-                            </property>
-                            <property name="backgroundMode">
-                                <enum>PaletteBackground</enum>
-                            </property>
-                            <attribute name="label">
-                                <string>General configurations and network selection.</string>
-                            </attribute>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>textLabel3_5_6_2_2</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Select the &lt;b&gt;interface&lt;/b&gt;:</string>
-                                    </property>
-                                </widget>
-                                <widget class="QTable" row="2" column="0">
-                                    <column>
-                                        <property name="text">
-                                            <string>Interface</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>MAC</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>Chipset</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>Driver</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>Mode</string>
-                                        </property>
-                                    </column>
-                                    <property name="name">
-                                        <cstring>table_interfaces</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>3</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="minimumSize">
-                                        <size>
-                                            <width>0</width>
-                                            <height>85</height>
-                                        </size>
-                                    </property>
-                                    <property name="maximumSize">
-                                        <size>
-                                            <width>32767</width>
-                                            <height>100</height>
-                                        </size>
-                                    </property>
-                                    <property name="numRows">
-                                        <number>0</number>
-                                    </property>
-                                    <property name="numCols">
-                                        <number>5</number>
-                                    </property>
-                                    <property name="readOnly">
-                                        <bool>true</bool>
-                                    </property>
-                                    <property name="selectionMode">
-                                        <enum>SingleRow</enum>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="4" column="0">
-                                    <property name="name">
-                                        <cstring>textLabel3_5_6_2</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Select the &lt;b&gt;target network&lt;/b&gt;:</string>
-                                    </property>
-                                </widget>
-                                <widget class="QTable" row="5" column="0">
-                                    <column>
-                                        <property name="text">
-                                            <string>Essid</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>Bssid</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>Channel</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>Signal</string>
-                                        </property>
-                                    </column>
-                                    <column>
-                                        <property name="text">
-                                            <string>Enc</string>
-                                        </property>
-                                    </column>
-                                    <property name="name">
-                                        <cstring>table_networks</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>7</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="minimumSize">
-                                        <size>
-                                            <width>0</width>
-                                            <height>0</height>
-                                        </size>
-                                    </property>
-                                    <property name="maximumSize">
-                                        <size>
-                                            <width>32767</width>
-                                            <height>32767</height>
-                                        </size>
-                                    </property>
-                                    <property name="numRows">
-                                        <number>0</number>
-                                    </property>
-                                    <property name="numCols">
-                                        <number>5</number>
-                                    </property>
-                                    <property name="showGrid">
-                                        <bool>true</bool>
-                                    </property>
-                                    <property name="readOnly">
-                                        <bool>true</bool>
-                                    </property>
-                                    <property name="selectionMode">
-                                        <enum>SingleRow</enum>
-                                    </property>
-                                </widget>
-                                <widget class="QLayoutWidget" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>layout7</cstring>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
-                                            <property name="name">
-                                                <cstring>textLabel3_4_4</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Directory for session files (logs, .cap, ...):</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QLineEdit" row="1" column="0">
-                                            <property name="name">
-                                                <cstring>line_gath_logs</cstring>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton" row="1" column="1">
-                                            <property name="name">
-                                                <cstring>button_gath_clean</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Clean old session files</string>
-                                            </property>
-                                        </widget>
-                                    </grid>
-                                </widget>
-                                <widget class="QLayoutWidget" row="6" column="0">
-                                    <property name="name">
-                                        <cstring>layout8</cstring>
-                                    </property>
-                                    <hbox>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <widget class="QLabel">
-                                            <property name="name">
-                                                <cstring>textLabel1_2</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Channel:</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QComboBox">
-                                            <item>
-                                                <property name="text">
-                                                    <string>all channels</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>1</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>2</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>3</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>4</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>5</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>6</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>7</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>8</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>9</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>10</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>11</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>12</string>
-                                                </property>
-                                            </item>
-                                            <item>
-                                                <property name="text">
-                                                    <string>13</string>
-                                                </property>
-                                            </item>
-                                            <property name="name">
-                                                <cstring>combo_channel</cstring>
-                                            </property>
-                                            <property name="minimumSize">
-                                                <size>
-                                                    <width>100</width>
-                                                    <height>0</height>
-                                                </size>
-                                            </property>
-                                        </widget>
-                                        <widget class="QLabel">
-                                            <property name="name">
-                                                <cstring>textLabel2_4</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Seconds:</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QSpinBox">
-                                            <property name="name">
-                                                <cstring>spin_sec</cstring>
-                                            </property>
-                                            <property name="maxValue">
-                                                <number>200</number>
-                                            </property>
-                                            <property name="minValue">
-                                                <number>5</number>
-                                            </property>
-                                            <property name="value">
-                                                <number>10</number>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton">
-                                            <property name="name">
-                                                <cstring>button_rescan_networks</cstring>
-                                            </property>
-                                            <property name="sizePolicy">
-                                                <sizepolicy>
-                                                    <hsizetype>7</hsizetype>
-                                                    <vsizetype>0</vsizetype>
-                                                    <horstretch>0</horstretch>
-                                                    <verstretch>0</verstretch>
-                                                </sizepolicy>
-                                            </property>
-                                            <property name="text">
-                                                <string>Rescan networks</string>
-                                            </property>
-                                        </widget>
-                                    </hbox>
-                                </widget>
-                                <widget class="QLayoutWidget" row="3" column="0">
-                                    <property name="name">
-                                        <cstring>layout9</cstring>
-                                    </property>
-                                    <hbox>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <widget class="QPushButton">
-                                            <property name="name">
-                                                <cstring>button_reload_interfaces</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Reload wireless interfaces</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton">
-                                            <property name="name">
-                                                <cstring>button_random_mac</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Set random MAC address</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton">
-                                            <property name="name">
-                                                <cstring>button_monitor</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Enable/Disable Monitor Mode</string>
-                                            </property>
-                                        </widget>
-                                    </hbox>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </widget>
-                </grid>
-            </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>TabPage</cstring>
+                <property name="wordWrap">
+                 <bool>false</bool>
                 </property>
-                <attribute name="title">
+               </widget>
+              </item>
+              <item row="1" column="0">
+               <widget class="QLineEdit" name="line_gath_logs"/>
+              </item>
+              <item row="1" column="1">
+               <widget class="QPushButton" name="button_gath_clean">
+                <property name="text">
+                 <string>Clean old session files</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
+            </item>
+            <item row="6" column="0">
+             <layout class="QHBoxLayout">
+              <item>
+               <widget class="QLabel" name="textLabel1_2">
+                <property name="text">
+                 <string>Channel:</string>
+                </property>
+                <property name="wordWrap">
+                 <bool>false</bool>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QComboBox" name="combo_channel">
+                <property name="minimumSize">
+                 <size>
+                  <width>100</width>
+                  <height>0</height>
+                 </size>
+                </property>
+                <item>
+                 <property name="text">
+                  <string>all channels</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>1</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>2</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>3</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>4</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>5</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>6</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>7</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>8</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>9</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>10</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>11</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>12</string>
+                 </property>
+                </item>
+                <item>
+                 <property name="text">
+                  <string>13</string>
+                 </property>
+                </item>
+               </widget>
+              </item>
+              <item>
+               <widget class="QLabel" name="textLabel2_4">
+                <property name="text">
+                 <string>Seconds:</string>
+                </property>
+                <property name="wordWrap">
+                 <bool>false</bool>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QSpinBox" name="spin_sec">
+                <property name="minimum">
+                 <number>5</number>
+                </property>
+                <property name="maximum">
+                 <number>200</number>
+                </property>
+                <property name="value">
+                 <number>10</number>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QPushButton" name="button_rescan_networks">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>Rescan networks</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
+            </item>
+            <item row="3" column="0">
+             <layout class="QHBoxLayout">
+              <item>
+               <widget class="QPushButton" name="button_reload_interfaces">
+                <property name="text">
+                 <string>Reload wireless interfaces</string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QPushButton" name="button_random_mac">
+                <property name="text">
+                 <string>Set random MAC address</string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QPushButton" name="button_monitor">
+                <property name="text">
+                 <string>Enable/Disable Monitor Mode</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
+            </item>
+            <item row="2" column="0">
+             <widget class="QTableWidget" name="table_interfaces_2">
+              <column>
+               <property name="text">
+                <string>Interfece</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>MAC</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>Chipset</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>Driver</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>Mode</string>
+               </property>
+              </column>
+             </widget>
+            </item>
+            <item row="5" column="0">
+             <widget class="QTableWidget" name="table_networks_2">
+              <column>
+               <property name="text">
+                <string>Essid</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>Bssid</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>Channel</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>Signal</string>
+               </property>
+              </column>
+              <column>
+               <property name="text">
+                <string>Enc</string>
+               </property>
+              </column>
+             </widget>
+            </item>
+           </layout>
+          </widget>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+      <widget class="QWidget" name="TabPage">
+       <attribute name="title">
+        <string>WEP</string>
+       </attribute>
+       <layout class="QGridLayout">
+        <item row="1" column="0">
+         <widget class="QToolBox" name="toolBox2_2">
+          <property name="currentIndex">
+           <number>3</number>
+          </property>
+          <widget class="QWidget" name="page1">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>196</width>
+             <height>146</height>
+            </rect>
+           </property>
+           <attribute name="label">
+            <string>General functionalities</string>
+           </attribute>
+           <layout class="QVBoxLayout">
+            <item>
+             <widget class="QGroupBox" name="buttonGroup2_3_2">
+              <property name="title">
+               <string>Functionalities</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_start_sniff">
+                 <property name="text">
+                  <string>Start Sniffing and Logging</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <widget class="QGroupBox" name="buttonGroup2_3">
+              <property name="title">
+               <string>Tests</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_test_inj">
+                 <property name="text">
+                  <string>Performs a test of injection AP</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <spacer name="spacer22_4">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Expanding</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>41</width>
+                <height>110</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+           </layout>
+          </widget>
+          <widget class="QWidget" name="page2">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>355</width>
+             <height>320</height>
+            </rect>
+           </property>
+           <attribute name="label">
+            <string>WEP Attacks (no-client)</string>
+           </attribute>
+           <layout class="QGridLayout">
+            <item row="3" column="0">
+             <spacer name="spacer22_2_2">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Expanding</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>41</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item row="2" column="0">
+             <widget class="QGroupBox" name="buttonGroup1_2_3">
+              <property name="title">
+               <string>Fragmentation attack</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_assoc_fake_auth_frag">
+                 <property name="text">
+                  <string>Associate with AP using fake auth</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_start_frag">
+                 <property name="text">
+                  <string>Fragmentation attack</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_create_arp_frag">
+                 <property name="text">
+                  <string>Create the ARP packet to be injected on the victim access point</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_arp_inj_frag">
+                 <property name="text">
+                  <string>Inject the created packet on victim access point</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item row="1" column="0">
+             <widget class="QGroupBox" name="buttonGroup1_3">
+              <property name="title">
+               <string>ChopChop attack</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_fake_auth_chop">
+                 <property name="text">
+                  <string>Start false access point Authentication on victim</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_start_chop">
+                 <property name="text">
+                  <string>Start the ChopChop attack</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_create_arp_chop">
+                 <property name="text">
+                  <string>Create the ARP packet to be injected on the victim access point</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_arp_inj_chop">
+                 <property name="text">
+                  <string>Inject the created packet on victim access point</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+           </layout>
+          </widget>
+          <widget class="QWidget" name="page">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>212</width>
+             <height>432</height>
+            </rect>
+           </property>
+           <attribute name="label">
+            <string>WEP Attacks (with clients)</string>
+           </attribute>
+           <layout class="QVBoxLayout">
+            <item>
+             <widget class="QGroupBox" name="buttonGroup1_2_2_3">
+              <property name="title">
+               <string>ARP request replay attack</string>
+              </property>
+              <property name="flat">
+               <bool>false</bool>
+              </property>
+              <property name="checkable">
+               <bool>false</bool>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_assoc_fake_auth_rep">
+                 <property name="text">
+                  <string>Associate with AP using fake auth</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_start_rep">
+                 <property name="text">
+                  <string>ARP request replay</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <widget class="QGroupBox" name="buttonGroup1_2_2_2_3">
+              <property name="title">
+               <string>ARP request attack</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_assoc_fake_auth_req">
+                 <property name="text">
+                  <string>Associate with AP using fake auth</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QLabel" name="textLabel6_3">
+                 <property name="text">
+                  <string>Minimum packet length:</string>
+                 </property>
+                 <property name="wordWrap">
+                  <bool>false</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QSpinBox" name="spin_wep_wireless_req">
+                 <property name="maximum">
+                  <number>90000</number>
+                 </property>
+                 <property name="value">
+                  <number>68</number>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QLabel" name="textLabel7_2">
+                 <property name="text">
+                  <string>Maximum packet length:</string>
+                 </property>
+                 <property name="wordWrap">
+                  <bool>false</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QSpinBox" name="spin_wep_wired_req">
+                 <property name="maximum">
+                  <number>90000</number>
+                 </property>
+                 <property name="value">
+                  <number>86</number>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_capture_req">
+                 <property name="text">
+                  <string>Capture replay packets</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <widget class="QGroupBox" name="buttonGroup1_2_2_2_2_2">
+              <property name="title">
+               <string>Fragmentation client attack</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QLabel" name="textLabel6_2_2">
+                 <property name="text">
+                  <string>Add victim client MAC:</string>
+                 </property>
+                 <property name="wordWrap">
+                  <bool>false</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QComboBox" name="combo_wep_mac_cfrag">
+                 <property name="editable">
+                  <bool>true</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_autoload_clients_cfrag">
+                 <property name="text">
+                  <string>Autoload victim clients</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wep_arp_inj_cfrag">
+                 <property name="text">
+                  <string>Start Client Fragmentation Attack</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <spacer name="spacer25_2">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Expanding</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>41</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+           </layout>
+          </widget>
+          <widget class="QWidget" name="page">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>608</width>
+             <height>300</height>
+            </rect>
+           </property>
+           <attribute name="label">
+            <string>WEP Attack (with clients, in Access Point and Ad-Hoc mode)</string>
+           </attribute>
+           <layout class="QVBoxLayout">
+            <item>
+             <widget class="QGroupBox" name="buttonGroup1_2_2_3_2">
+              <property name="title">
+               <string>Caffe-Latte attack in access point mode</string>
+              </property>
+              <property name="flat">
+               <bool>false</bool>
+              </property>
+              <property name="checkable">
+               <bool>false</bool>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_start_latte">
+                 <property name="text">
+                  <string>Start Caffe-Latte attack</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <widget class="QGroupBox" name="buttonGroup1_2_2_3_2_2">
+              <property name="title">
+               <string>Hirte attack in access point mode</string>
+              </property>
+              <property name="flat">
+               <bool>false</bool>
+              </property>
+              <property name="checkable">
+               <bool>false</bool>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_start_hirte_ap">
+                 <property name="text">
+                  <string>Start Hirte attack</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <widget class="QGroupBox" name="buttonGroup1_2_2_3_2_3">
+              <property name="title">
+               <string>Hirte attack in ad-hoc mode</string>
+              </property>
+              <property name="flat">
+               <bool>false</bool>
+              </property>
+              <property name="checkable">
+               <bool>false</bool>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wep_start_hirte_adhoc">
+                 <property name="text">
+                  <string>Start Hirte attack</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <spacer name="spacer23">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Expanding</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>41</width>
+                <height>111</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+           </layout>
+          </widget>
+         </widget>
+        </item>
+        <item row="0" column="0">
+         <widget class="QLabel" name="textLabel4_4_3">
+          <property name="text">
+           <string>&lt;h2&gt;Welcome in WEP Attacks Control Panel&lt;/h2&gt;</string>
+          </property>
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+      <widget class="QWidget" name="TabPage">
+       <attribute name="title">
+        <string>WPA</string>
+       </attribute>
+       <layout class="QGridLayout">
+        <item row="0" column="0">
+         <widget class="QLabel" name="textLabel4_4_2_3">
+          <property name="text">
+           <string>&lt;h2&gt;Welcome in WPA Attacks Control Panel&lt;/h2&gt;</string>
+          </property>
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+         </widget>
+        </item>
+        <item row="1" column="0">
+         <widget class="QToolBox" name="toolBox4_2">
+          <property name="currentIndex">
+           <number>1</number>
+          </property>
+          <widget class="QWidget" name="page2">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>196</width>
+             <height>146</height>
+            </rect>
+           </property>
+           <attribute name="label">
+            <string>General functionalities</string>
+           </attribute>
+           <layout class="QVBoxLayout">
+            <item>
+             <widget class="QGroupBox" name="buttonGroup2_2_2_2">
+              <property name="title">
+               <string>Functionalities</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wpa_start_sniff">
+                 <property name="text">
+                  <string>Start Sniffing and Logging</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <widget class="QGroupBox" name="buttonGroup2_2_2">
+              <property name="title">
+               <string>Tests</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QPushButton" name="button_wpa_test_inj">
+                 <property name="text">
+                  <string>Performs a test of injection AP</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </widget>
+            </item>
+            <item>
+             <spacer name="spacer22_3_2">
+              <property name="orientation">
+               <enum>Qt::Vertical</enum>
+              </property>
+              <property name="sizeType">
+               <enum>QSizePolicy::Expanding</enum>
+              </property>
+              <property name="sizeHint" stdset="0">
+               <size>
+                <width>41</width>
+                <height>140</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+           </layout>
+          </widget>
+          <widget class="QWidget" name="page">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>608</width>
+             <height>354</height>
+            </rect>
+           </property>
+           <attribute name="label">
+            <string>WPA attacks</string>
+           </attribute>
+           <layout class="QVBoxLayout">
+            <item>
+             <widget class="QGroupBox" name="groupBox4_2">
+              <property name="title">
+               <string>WPA handshake attack</string>
+              </property>
+              <layout class="QVBoxLayout">
+               <item>
+                <widget class="QLabel" name="textLabel8_2">
+                 <property name="text">
+                  <string>Add victim client MAC:</string>
+                 </property>
+                 <property name="wordWrap">
+                  <bool>false</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QComboBox" name="combo_wpa_mac_hand">
+                 <property name="editable">
+                  <bool>true</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QPushButton" name="button_wpa_autoload_clients">
+                 <property name="text">
+                  <string>Autoload victim clients</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QLabel" name="textLabel8_2_2">
+                 <property name="text">
+                  <string>Add the deauth number:</string>
+                 </property>
+                 <property name="wordWrap">
+                  <bool>false</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QSpinBox" name="spin_wpa_deauth_hand">
+                 <property name="value">
+                  <number>4</number>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QLabel" name="textLabel9_2">
+                 <property name="text">
+                  <string>Now you need to capture the HandShake, start the deauthentication.</string>
+                 </property>
+                 <property name="wordWrap">
+                  <bool>false</bool>
+                 </property>
+                </widget>