Fix bad format
This commit is contained in:
parent
6e5465f933
commit
7f9abc000c
8
Makefile
8
Makefile
|
@ -1,8 +0,0 @@
|
|||
TARGET = ui/fluxion
|
||||
|
||||
build-ui:
|
||||
pyuic4 -x $(TARGET).ui -o $(TARGET).py
|
||||
|
||||
clean:
|
||||
rm -f ui/*.py
|
||||
|
3074
fluxion.sh
3074
fluxion.sh
File diff suppressed because it is too large
Load Diff
182
ui/fluxion.py
182
ui/fluxion.py
|
@ -1,182 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'ui/fluxion.ui'
|
||||
#
|
||||
# Created by: PyQt4 UI code generator 4.11.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
from PyQt4 import QtCore, QtGui
|
||||
|
||||
try:
|
||||
_fromUtf8 = QtCore.QString.fromUtf8
|
||||
except AttributeError:
|
||||
def _fromUtf8(s):
|
||||
return s
|
||||
|
||||
try:
|
||||
_encoding = QtGui.QApplication.UnicodeUTF8
|
||||
def _translate(context, text, disambig):
|
||||
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
||||
except AttributeError:
|
||||
def _translate(context, text, disambig):
|
||||
return QtGui.QApplication.translate(context, text, disambig)
|
||||
|
||||
class Ui_MainWindow(object):
|
||||
def setupUi(self, MainWindow):
|
||||
MainWindow.setObjectName(_fromUtf8("MainWindow"))
|
||||
MainWindow.resize(804, 527)
|
||||
MainWindow.setAnimated(True)
|
||||
self.centralwidget = QtGui.QWidget(MainWindow)
|
||||
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
|
||||
self.gridLayout_7 = QtGui.QGridLayout(self.centralwidget)
|
||||
self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
|
||||
self.BottomTabWidget = QtGui.QTabWidget(self.centralwidget)
|
||||
self.BottomTabWidget.setSizeIncrement(QtCore.QSize(0, 0))
|
||||
self.BottomTabWidget.setBaseSize(QtCore.QSize(0, 0))
|
||||
self.BottomTabWidget.setObjectName(_fromUtf8("BottomTabWidget"))
|
||||
self.LogTab = QtGui.QWidget()
|
||||
self.LogTab.setObjectName(_fromUtf8("LogTab"))
|
||||
self.gridLayout_3 = QtGui.QGridLayout(self.LogTab)
|
||||
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
|
||||
self.ProcessesTableView = QtGui.QTableView(self.LogTab)
|
||||
self.ProcessesTableView.setObjectName(_fromUtf8("ProcessesTableView"))
|
||||
self.gridLayout_3.addWidget(self.ProcessesTableView, 0, 0, 1, 1)
|
||||
self.BottomTabWidget.addTab(self.LogTab, _fromUtf8(""))
|
||||
self.gridLayout_7.addWidget(self.BottomTabWidget, 1, 0, 1, 1)
|
||||
self.MainTabWidget = QtGui.QTabWidget(self.centralwidget)
|
||||
self.MainTabWidget.setObjectName(_fromUtf8("MainTabWidget"))
|
||||
self.ScanTab = QtGui.QWidget()
|
||||
self.ScanTab.setObjectName(_fromUtf8("ScanTab"))
|
||||
self.gridLayout_4 = QtGui.QGridLayout(self.ScanTab)
|
||||
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
|
||||
self.splitter = QtGui.QSplitter(self.ScanTab)
|
||||
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.splitter.setObjectName(_fromUtf8("splitter"))
|
||||
self.HostsTabWidget = QtGui.QTabWidget(self.splitter)
|
||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.HostsTabWidget.sizePolicy().hasHeightForWidth())
|
||||
self.HostsTabWidget.setSizePolicy(sizePolicy)
|
||||
self.HostsTabWidget.setObjectName(_fromUtf8("HostsTabWidget"))
|
||||
self.HostsTab = QtGui.QWidget()
|
||||
self.HostsTab.setObjectName(_fromUtf8("HostsTab"))
|
||||
self.gridLayout_5 = QtGui.QGridLayout(self.HostsTab)
|
||||
self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
|
||||
self.HostsTableView = QtGui.QTableView(self.HostsTab)
|
||||
self.HostsTableView.setObjectName(_fromUtf8("HostsTableView"))
|
||||
self.gridLayout_5.addWidget(self.HostsTableView, 0, 0, 1, 1)
|
||||
self.HostsTabWidget.addTab(self.HostsTab, _fromUtf8(""))
|
||||
self.ServicesLeftTab = QtGui.QWidget()
|
||||
self.ServicesLeftTab.setObjectName(_fromUtf8("ServicesLeftTab"))
|
||||
self.gridLayout_6 = QtGui.QGridLayout(self.ServicesLeftTab)
|
||||
self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
|
||||
self.ServiceNamesTableView = QtGui.QTableView(self.ServicesLeftTab)
|
||||
self.ServiceNamesTableView.setObjectName(_fromUtf8("ServiceNamesTableView"))
|
||||
self.gridLayout_6.addWidget(self.ServiceNamesTableView, 0, 0, 1, 1)
|
||||
self.HostsTabWidget.addTab(self.ServicesLeftTab, _fromUtf8(""))
|
||||
self.ServicesTabWidget = QtGui.QTabWidget(self.splitter)
|
||||
self.ServicesTabWidget.setEnabled(True)
|
||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.ServicesTabWidget.sizePolicy().hasHeightForWidth())
|
||||
self.ServicesTabWidget.setSizePolicy(sizePolicy)
|
||||
self.ServicesTabWidget.setObjectName(_fromUtf8("ServicesTabWidget"))
|
||||
self.tab_3 = QtGui.QWidget()
|
||||
self.tab_3.setObjectName(_fromUtf8("tab_3"))
|
||||
self.lineEdit = QtGui.QLineEdit(self.tab_3)
|
||||
self.lineEdit.setGeometry(QtCore.QRect(10, 30, 113, 30))
|
||||
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
|
||||
self.label = QtGui.QLabel(self.tab_3)
|
||||
self.label.setGeometry(QtCore.QRect(10, 10, 62, 20))
|
||||
self.label.setObjectName(_fromUtf8("label"))
|
||||
self.ServicesTabWidget.addTab(self.tab_3, _fromUtf8(""))
|
||||
self.ServicesRightTab = QtGui.QWidget()
|
||||
self.ServicesRightTab.setObjectName(_fromUtf8("ServicesRightTab"))
|
||||
self.verticalLayout = QtGui.QVBoxLayout(self.ServicesRightTab)
|
||||
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
|
||||
self.ServicesTableView = QtGui.QTableView(self.ServicesRightTab)
|
||||
self.ServicesTableView.setObjectName(_fromUtf8("ServicesTableView"))
|
||||
self.verticalLayout.addWidget(self.ServicesTableView)
|
||||
self.ServicesTabWidget.addTab(self.ServicesRightTab, _fromUtf8(""))
|
||||
self.InformationTab = QtGui.QWidget()
|
||||
self.InformationTab.setObjectName(_fromUtf8("InformationTab"))
|
||||
self.gridLayout_2 = QtGui.QGridLayout(self.InformationTab)
|
||||
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
|
||||
self.InformationTableView = QtGui.QTableView(self.InformationTab)
|
||||
self.InformationTableView.setObjectName(_fromUtf8("InformationTableView"))
|
||||
self.gridLayout_2.addWidget(self.InformationTableView, 0, 0, 1, 1)
|
||||
self.ServicesTabWidget.addTab(self.InformationTab, _fromUtf8(""))
|
||||
self.gridLayout_4.addWidget(self.splitter, 0, 0, 1, 1)
|
||||
self.MainTabWidget.addTab(self.ScanTab, _fromUtf8(""))
|
||||
self.HandshakeTab = QtGui.QWidget()
|
||||
self.HandshakeTab.setObjectName(_fromUtf8("HandshakeTab"))
|
||||
self.BruteTabWidget = QtGui.QTabWidget(self.HandshakeTab)
|
||||
self.BruteTabWidget.setGeometry(QtCore.QRect(9, 9, 391, 171))
|
||||
self.BruteTabWidget.setObjectName(_fromUtf8("BruteTabWidget"))
|
||||
self.tab = QtGui.QWidget()
|
||||
self.tab.setObjectName(_fromUtf8("tab"))
|
||||
self.lineEdit_2 = QtGui.QLineEdit(self.tab)
|
||||
self.lineEdit_2.setGeometry(QtCore.QRect(0, 30, 191, 30))
|
||||
self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2"))
|
||||
self.label_2 = QtGui.QLabel(self.tab)
|
||||
self.label_2.setGeometry(QtCore.QRect(0, 10, 62, 20))
|
||||
self.label_2.setObjectName(_fromUtf8("label_2"))
|
||||
self.pushButton_2 = QtGui.QPushButton(self.tab)
|
||||
self.pushButton_2.setGeometry(QtCore.QRect(290, 100, 90, 28))
|
||||
self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
|
||||
self.radioButton = QtGui.QRadioButton(self.tab)
|
||||
self.radioButton.setGeometry(QtCore.QRect(0, 70, 109, 25))
|
||||
self.radioButton.setObjectName(_fromUtf8("radioButton"))
|
||||
self.radioButton_2 = QtGui.QRadioButton(self.tab)
|
||||
self.radioButton_2.setGeometry(QtCore.QRect(0, 90, 109, 25))
|
||||
self.radioButton_2.setObjectName(_fromUtf8("radioButton_2"))
|
||||
self.BruteTabWidget.addTab(self.tab, _fromUtf8(""))
|
||||
self.MainTabWidget.addTab(self.HandshakeTab, _fromUtf8(""))
|
||||
self.gridLayout_7.addWidget(self.MainTabWidget, 0, 0, 1, 1)
|
||||
MainWindow.setCentralWidget(self.centralwidget)
|
||||
self.menubar = QtGui.QMenuBar(MainWindow)
|
||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 804, 26))
|
||||
self.menubar.setObjectName(_fromUtf8("menubar"))
|
||||
MainWindow.setMenuBar(self.menubar)
|
||||
self.statusbar = QtGui.QStatusBar(MainWindow)
|
||||
self.statusbar.setObjectName(_fromUtf8("statusbar"))
|
||||
MainWindow.setStatusBar(self.statusbar)
|
||||
|
||||
self.retranslateUi(MainWindow)
|
||||
self.BottomTabWidget.setCurrentIndex(0)
|
||||
self.MainTabWidget.setCurrentIndex(0)
|
||||
self.HostsTabWidget.setCurrentIndex(1)
|
||||
self.ServicesTabWidget.setCurrentIndex(0)
|
||||
self.BruteTabWidget.setCurrentIndex(0)
|
||||
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||||
|
||||
def retranslateUi(self, MainWindow):
|
||||
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
|
||||
self.BottomTabWidget.setTabText(self.BottomTabWidget.indexOf(self.LogTab), _translate("MainWindow", "Log", None))
|
||||
self.HostsTabWidget.setTabText(self.HostsTabWidget.indexOf(self.HostsTab), _translate("MainWindow", "Hosts", None))
|
||||
self.HostsTabWidget.setTabText(self.HostsTabWidget.indexOf(self.ServicesLeftTab), _translate("MainWindow", "Services", None))
|
||||
self.label.setText(_translate("MainWindow", "IP Range", None))
|
||||
self.ServicesTabWidget.setTabText(self.ServicesTabWidget.indexOf(self.tab_3), _translate("MainWindow", "Scope", None))
|
||||
self.ServicesTabWidget.setTabText(self.ServicesTabWidget.indexOf(self.ServicesRightTab), _translate("MainWindow", "Services", None))
|
||||
self.ServicesTabWidget.setTabText(self.ServicesTabWidget.indexOf(self.InformationTab), _translate("MainWindow", "Information", None))
|
||||
self.MainTabWidget.setTabText(self.MainTabWidget.indexOf(self.ScanTab), _translate("MainWindow", "Scan", None))
|
||||
self.label_2.setText(_translate("MainWindow", "Path", None))
|
||||
self.pushButton_2.setText(_translate("MainWindow", "Start", None))
|
||||
self.radioButton.setText(_translate("MainWindow", "Aircrack", None))
|
||||
self.radioButton_2.setText(_translate("MainWindow", "Pyrit", None))
|
||||
self.BruteTabWidget.setTabText(self.BruteTabWidget.indexOf(self.tab), _translate("MainWindow", "Analyzer", None))
|
||||
self.MainTabWidget.setTabText(self.MainTabWidget.indexOf(self.HandshakeTab), _translate("MainWindow", "Handshake", None))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
app = QtGui.QApplication(sys.argv)
|
||||
MainWindow = QtGui.QMainWindow()
|
||||
ui = Ui_MainWindow()
|
||||
ui.setupUi(MainWindow)
|
||||
MainWindow.show()
|
||||
sys.exit(app.exec_())
|
||||
|
265
ui/fluxion.ui
265
ui/fluxion.ui
|
@ -1,265 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWindow</class>
|
||||
<widget class="QMainWindow" name="MainWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>804</width>
|
||||
<height>527</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="animated">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout_7">
|
||||
<item row="1" column="0">
|
||||
<widget class="QTabWidget" name="BottomTabWidget">
|
||||
<property name="sizeIncrement">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="LogTab">
|
||||
<attribute name="title">
|
||||
<string>Log</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTableView" name="ProcessesTableView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QTabWidget" name="MainTabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="ScanTab">
|
||||
<attribute name="title">
|
||||
<string>Scan</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="0" column="0">
|
||||
<widget class="QSplitter" name="splitter">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<widget class="QTabWidget" name="HostsTabWidget">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="HostsTab">
|
||||
<attribute name="title">
|
||||
<string>Hosts</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTableView" name="HostsTableView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="ServicesLeftTab">
|
||||
<attribute name="title">
|
||||
<string>Services</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_6">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTableView" name="ServiceNamesTableView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QTabWidget" name="ServicesTabWidget">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<attribute name="title">
|
||||
<string>Scope</string>
|
||||
</attribute>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>30</y>
|
||||
<width>113</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>62</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>IP Range</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QWidget" name="ServicesRightTab">
|
||||
<attribute name="title">
|
||||
<string>Services</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QTableView" name="ServicesTableView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="InformationTab">
|
||||
<attribute name="title">
|
||||
<string>Information</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTableView" name="InformationTableView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="HandshakeTab">
|
||||
<attribute name="title">
|
||||
<string>Handshake</string>
|
||||
</attribute>
|
||||
<widget class="QTabWidget" name="BruteTabWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>9</x>
|
||||
<y>9</y>
|
||||
<width>391</width>
|
||||
<height>171</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
<string>Analyzer</string>
|
||||
</attribute>
|
||||
<widget class="QLineEdit" name="lineEdit_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>30</y>
|
||||
<width>191</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>10</y>
|
||||
<width>62</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Path</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>290</x>
|
||||
<y>100</y>
|
||||
<width>90</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Start</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton" name="radioButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>70</y>
|
||||
<width>109</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Aircrack</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton" name="radioButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>90</y>
|
||||
<width>109</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Pyrit</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>804</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Loading…
Reference in New Issue