Redesign UI

pull/2/head
wh201906 4 years ago
parent ac7f1b33dd
commit 23eb3f8ab3

@ -6,14 +6,14 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>787</width> <width>800</width>
<height>770</height> <height>770</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>450</width> <width>800</width>
<height>300</height> <height>550</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -94,9 +94,12 @@
<attribute name="title"> <attribute name="title">
<string>Mifare</string> <string>Mifare</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_7">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>2</number>
</property>
<item> <item>
<widget class="QTableWidget" name="MF_dataWidget"> <widget class="QTableWidget" name="MF_dataWidget">
<property name="sizePolicy"> <property name="sizePolicy">
@ -118,6 +121,89 @@
</attribute> </attribute>
</widget> </widget>
</item> </item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing">
<number>2</number>
</property>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_data2KeyBotton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>&gt;&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_key2DataBotton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>&lt;&lt;</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<widget class="QTableWidget" name="MF_keyWidget"> <widget class="QTableWidget" name="MF_keyWidget">
<property name="sizePolicy"> <property name="sizePolicy">
@ -131,6 +217,9 @@
<family>Courier</family> <family>Courier</family>
</font> </font>
</property> </property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<attribute name="verticalHeaderMinimumSectionSize"> <attribute name="verticalHeaderMinimumSectionSize">
<number>20</number> <number>20</number>
</attribute> </attribute>
@ -142,93 +231,189 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="MF_attackGroupBox"> <layout class="QHBoxLayout" name="horizontalLayout_9">
<property name="title"> <item>
<string>Attack</string> <widget class="QGroupBox" name="groupBox_2">
</property> <property name="title">
<layout class="QHBoxLayout" name="horizontalLayout_5"> <string>Card Type</string>
<property name="topMargin"> </property>
<number>5</number> <layout class="QHBoxLayout" name="horizontalLayout_10">
</property> <property name="topMargin">
<property name="bottomMargin"> <number>5</number>
<number>5</number>
</property>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_infoButton">
<property name="text">
<string>Card Info</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_chkButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Check Default</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_nestedButton">
<property name="text">
<string>Nested</string>
</property> </property>
</widget> <property name="bottomMargin">
</item> <number>5</number>
<item>
<widget class="QPushButton" name="MF_Attack_hardnestedButton">
<property name="text">
<string>Hardnested</string>
</property> </property>
</widget> <item>
</item> <widget class="QRadioButton" name="radioButton">
<item> <property name="text">
<widget class="QPushButton" name="MF_Attack_sniffButton"> <string>1K</string>
<property name="text"> </property>
<string>Sniff</string> <property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButton_2">
<property name="text">
<string>2K</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButton_3">
<property name="text">
<string>4K</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>File</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="topMargin">
<number>5</number>
</property> </property>
</widget> <property name="bottomMargin">
</item> <number>5</number>
<item>
<widget class="QPushButton" name="MF_Attack_listButton">
<property name="text">
<string>List Sniff Data</string>
</property> </property>
</widget> <item>
</item> <widget class="QPushButton" name="pushButton_3">
<item> <property name="minimumSize">
<spacer name="horizontalSpacer_2"> <size>
<property name="orientation"> <width>40</width>
<enum>Qt::Horizontal</enum> <height>0</height>
</size>
</property>
<property name="text">
<string>Load</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_4">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>Data</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>Key</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="MF_attackGroupBox">
<property name="title">
<string>Attack</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="topMargin">
<number>5</number>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="bottomMargin">
<size> <number>5</number>
<width>40</width>
<height>20</height>
</size>
</property> </property>
</spacer> <item>
</item> <spacer name="horizontalSpacer">
</layout> <property name="orientation">
</widget> <enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_infoButton">
<property name="text">
<string>Card Info</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_chkButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Check Default</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_nestedButton">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Nested</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_hardnestedButton">
<property name="text">
<string>Hardnested</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="MF_RWGroupBox"> <widget class="QGroupBox" name="MF_RWGroupBox">
@ -275,6 +460,11 @@
</item> </item>
<item> <item>
<widget class="QLineEdit" name="MF_RW_keyEdit"> <widget class="QLineEdit" name="MF_RW_keyEdit">
<property name="font">
<font>
<family>Courier</family>
</font>
</property>
<property name="text"> <property name="text">
<string>FFFFFFFFFFFF</string> <string>FFFFFFFFFFFF</string>
</property> </property>
@ -379,6 +569,12 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Dump</string> <string>Dump</string>
</property> </property>
@ -413,14 +609,14 @@
<number>5</number> <number>5</number>
</property> </property>
<item row="0" column="2"> <item row="0" column="2">
<widget class="QPushButton" name="pushButton"> <widget class="QPushButton" name="MF_lockUIDButton">
<property name="text"> <property name="text">
<string>Lock UFUID Card</string> <string>Lock UFUID Card</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="2"> <item row="1" column="2">
<widget class="QPushButton" name="pushButton_2"> <widget class="QPushButton" name="MF_UID_aboutUIDButton">
<property name="text"> <property name="text">
<string>About UID Card</string> <string>About UID Card</string>
</property> </property>
@ -475,6 +671,12 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Wipe</string> <string>Wipe</string>
</property> </property>
@ -486,88 +688,185 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="MF_RW_dataEdit"/> <widget class="QLineEdit" name="MF_RW_dataEdit">
<property name="font">
<font>
<family>Courier</family>
</font>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="MF_simGroupBox"> <layout class="QHBoxLayout" name="horizontalLayout_7">
<property name="title"> <item>
<string>Simulate</string> <widget class="QGroupBox" name="MF_simGroupBox">
</property> <property name="title">
<layout class="QHBoxLayout" name="horizontalLayout_11"> <string>Simulate</string>
<property name="topMargin"> </property>
<number>5</number> <layout class="QHBoxLayout" name="horizontalLayout_11">
</property> <property name="topMargin">
<property name="rightMargin"> <number>5</number>
<number>9</number>
</property>
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_Sim_loadFileButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Load from .eml</string>
</property> </property>
</widget> <property name="rightMargin">
</item> <number>9</number>
<item>
<widget class="QPushButton" name="MF_Sim_loadDataButton">
<property name="text">
<string>Load from data above</string>
</property> </property>
</widget> <property name="bottomMargin">
</item> <number>5</number>
<item>
<widget class="QPushButton" name="MF_Sim_clearButton">
<property name="text">
<string>Clear</string>
</property> </property>
</widget> <item>
</item> <spacer name="horizontalSpacer_5">
<item> <property name="orientation">
<widget class="QPushButton" name="MF_Sim_simButton"> <enum>Qt::Horizontal</enum>
<property name="text"> </property>
<string>Simulate</string> <property name="sizeHint" stdset="0">
</property> <size>
</widget> <width>40</width>
</item> <height>20</height>
<item> </size>
<spacer name="horizontalSpacer_6"> </property>
<property name="orientation"> </spacer>
<enum>Qt::Horizontal</enum> </item>
<item>
<widget class="QPushButton" name="MF_Sim_loadDataButton">
<property name="text">
<string>Load from data above</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Sim_writeAllButton">
<property name="text">
<string>Read All</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Sim_clearButton">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Sim_simButton">
<property name="text">
<string>Simulate</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="MF_sniffGroupBox">
<property name="title">
<string>Sniff</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="topMargin">
<number>5</number>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="bottomMargin">
<size> <number>5</number>
<width>40</width>
<height>20</height>
</size>
</property> </property>
</spacer> <item>
</item> <spacer name="horizontalSpacer_7">
</layout> <property name="orientation">
</widget> <enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_sniffButton">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Sniff</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_listButton">
<property name="text">
<string>List Sniff Data</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Load</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>

@ -77,6 +77,11 @@
</item> </item>
<item> <item>
<widget class="QLineEdit" name="knownKeyBox"> <widget class="QLineEdit" name="knownKeyBox">
<property name="font">
<font>
<family>Courier</family>
</font>
</property>
<property name="text"> <property name="text">
<string>FFFFFFFFFFFF</string> <string>FFFFFFFFFFFF</string>
</property> </property>

Loading…
Cancel
Save