hardsploit_gui 2.3 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -22
- data/Rakefile +1 -1
- data/bin/hardsploit_gui +3 -3
- data/lib/Firmwares/FPGA/I2C/I2C_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_I2C_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/PARALLEL/NO_MUX_PARALLEL_MEMORY/HARDSPLOIT_FIRMWARE_FPGA_NO_MUX_PARALLEL_MEMORY.rpd +0 -0
- data/lib/Firmwares/FPGA/SPI/SPI_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_SPI_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/SPI/SPI_SNIFFER/HARDSPLOIT_FIRMWARE_FPGA_SPI_SNIFFER.rpd +0 -0
- data/lib/Firmwares/FPGA/SWD/SWD_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_SWD_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/UART/UART_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_UART_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/VersionFPGA.rb +5 -5
- data/lib/Firmwares/UC/VersionUC.rb +12 -12
- data/lib/HardsploitAPI/Core/HardsploitAPI.rb +210 -210
- data/lib/HardsploitAPI/Core/HardsploitAPI_CONSTANT.rb +150 -150
- data/lib/HardsploitAPI/Core/HardsploitAPI_ERROR.rb +109 -109
- data/lib/HardsploitAPI/Core/HardsploitAPI_FIRMWARE.rb +305 -305
- data/lib/HardsploitAPI/Core/HardsploitAPI_PROGRESS.rb +28 -28
- data/lib/HardsploitAPI/Core/HardsploitAPI_USB_COMMUNICATION.rb +166 -166
- data/lib/HardsploitAPI/Modules/I2C/HardsploitAPI_I2C.rb +356 -356
- data/lib/HardsploitAPI/Modules/NO_MUX_PARALLEL_MEMORY/HardsploitAPI_NO_MUX_PARALLEL_MEMORY.rb +206 -206
- data/lib/HardsploitAPI/Modules/NRF24L01/HardsploitAPI_NRF24L01.rb +306 -306
- data/lib/HardsploitAPI/Modules/SPI/HardsploitAPI_SPI.rb +340 -340
- data/lib/HardsploitAPI/Modules/SPI_SNIFFER/HardsploitAPI_SPI_SNIFFER.rb +83 -83
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD.rb +367 -367
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD_DEBUG.rb +89 -89
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD_MEM_AP.rb +61 -61
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD_STM32.rb +121 -121
- data/lib/HardsploitAPI/Modules/TEST/HardsploitAPI_TEST_INTERACT.rb +98 -98
- data/lib/HardsploitAPI/Modules/UART/HardsploitAPI_UART.rb +196 -196
- data/lib/Hardsploit_gui.rb +96 -96
- data/lib/LICENSE.txt +674 -674
- data/lib/README.md +22 -22
- data/lib/TRADEMARK +2 -2
- data/lib/class/Chip_editor.rb +304 -304
- data/lib/class/Chip_management.rb +496 -496
- data/lib/class/Command_editor.rb +216 -216
- data/lib/class/Command_table.rb +233 -233
- data/lib/class/Console.rb +26 -26
- data/lib/class/ErrorMsg.rb +312 -312
- data/lib/class/Export.rb +140 -140
- data/lib/class/Export_manager.rb +124 -124
- data/lib/class/Firmware.rb +70 -70
- data/lib/class/Generic_commands.rb +260 -260
- data/lib/class/{i2c → I2C}/I2c_command.rb +51 -51
- data/lib/class/{i2c → I2C}/I2c_export.rb +95 -95
- data/lib/class/{i2c → I2C}/I2c_import.rb +117 -117
- data/lib/class/{i2c → I2C}/I2c_scanner.rb +114 -114
- data/lib/class/{i2c → I2C}/I2c_settings.rb +148 -148
- data/lib/class/Import.rb +193 -193
- data/lib/class/{parallel → PARALLEL}/Parallel_export.rb +118 -118
- data/lib/class/{parallel → PARALLEL}/Parallel_import.rb +113 -113
- data/lib/class/{parallel → PARALLEL}/Parallel_settings.rb +81 -81
- data/lib/class/Progress_bar.rb +32 -32
- data/lib/class/{spi → SPI}/Spi_export.rb +108 -108
- data/lib/class/{spi → SPI}/Spi_import.rb +159 -159
- data/lib/class/{spi → SPI}/Spi_settings.rb +108 -108
- data/lib/class/{spi → SPI}/Spi_sniffer.rb +101 -101
- data/lib/class/Signal_mapper.rb +120 -120
- data/lib/class/Wire_helper.rb +230 -230
- data/lib/class/swd/Swd.rb +125 -125
- data/lib/class/swd/Swd_scanner.rb +121 -121
- data/lib/class/swd/Swd_settings.rb +76 -76
- data/lib/class/uart/Uart_baudrate.rb +62 -62
- data/lib/class/uart/Uart_console.rb +115 -115
- data/lib/class/uart/Uart_settings.rb +102 -102
- data/lib/db/associations.rb +138 -138
- data/lib/db/database.rb +4 -4
- data/lib/db/development.sqlite3 +0 -0
- data/lib/db/migrate/004_create_manufacturers.rb +13 -13
- data/lib/db/migrate/005_create_packages.rb +13 -13
- data/lib/db/migrate/006_create_chip_types.rb +11 -11
- data/lib/db/migrate/007_create_buses.rb +11 -11
- data/lib/db/migrate/008_create_signals.rb +14 -14
- data/lib/db/migrate/009_create_chips.rb +25 -25
- data/lib/db/migrate/010_create_commands.rb +21 -21
- data/lib/db/migrate/011_create_bytes.rb +19 -19
- data/lib/db/migrate/012_create_i2c_settings.rb +21 -21
- data/lib/db/migrate/013_create_spi_settings.rb +26 -26
- data/lib/db/migrate/014_create_parallel_settings.rb +21 -21
- data/lib/db/migrate/015_create_pins.rb +19 -19
- data/lib/db/migrate/016_create_uses.rb +17 -17
- data/lib/db/migrate/017_create_swd_settings.rb +19 -19
- data/lib/db/migrate/018_create_uart_settings.rb +22 -22
- data/lib/db/schema.rb +157 -157
- data/lib/db/seeds.rb +161 -161
- data/lib/gui/gui_chip_editor.rb +349 -349
- data/lib/gui/gui_chip_management.rb +377 -377
- data/lib/gui/gui_command_editor.rb +219 -219
- data/lib/gui/gui_export.rb +132 -132
- data/lib/gui/gui_export_manager.rb +93 -93
- data/lib/gui/gui_generic_commands.rb +202 -202
- data/lib/gui/gui_generic_export.rb +164 -164
- data/lib/gui/gui_generic_import.rb +142 -142
- data/lib/gui/gui_i2c_command.rb +116 -116
- data/lib/gui/gui_i2c_settings.rb +230 -230
- data/lib/gui/gui_import.rb +131 -131
- data/lib/gui/gui_parallel_settings.rb +195 -195
- data/lib/gui/gui_progress_bar.rb +85 -85
- data/lib/gui/gui_signal_mapper.rb +121 -121
- data/lib/gui/gui_signal_scanner.rb +146 -146
- data/lib/gui/gui_spi_import.rb +126 -126
- data/lib/gui/gui_spi_settings.rb +313 -313
- data/lib/gui/gui_spi_sniffer.rb +112 -112
- data/lib/gui/gui_swd_settings.rb +166 -166
- data/lib/gui/gui_uart_baudrate.rb +114 -114
- data/lib/gui/gui_uart_console.rb +164 -164
- data/lib/gui/gui_uart_settings.rb +243 -243
- data/lib/gui/gui_wire_helper.rb +99 -99
- data/lib/gui_designer/gui_chip_editor.ui +549 -549
- data/lib/gui_designer/gui_chip_management.ui +886 -886
- data/lib/gui_designer/gui_command_editor.ui +350 -350
- data/lib/gui_designer/gui_export.ui +171 -171
- data/lib/gui_designer/gui_export_manager.ui +115 -115
- data/lib/gui_designer/gui_generic_commands.ui +342 -342
- data/lib/gui_designer/gui_generic_export.ui +202 -202
- data/lib/gui_designer/gui_generic_import.ui +165 -165
- data/lib/gui_designer/gui_i2c_command.ui +148 -148
- data/lib/gui_designer/gui_i2c_settings.ui +292 -292
- data/lib/gui_designer/gui_import.ui +168 -168
- data/lib/gui_designer/gui_parallel_settings.ui +247 -247
- data/lib/gui_designer/gui_progress_bar.ui +86 -86
- data/lib/gui_designer/gui_signal_mapper.ui +179 -179
- data/lib/gui_designer/gui_signal_scanner.ui +261 -261
- data/lib/gui_designer/gui_spi_settings.ui +446 -446
- data/lib/gui_designer/gui_spi_sniffer.ui +156 -156
- data/lib/gui_designer/gui_swd_settings.ui +189 -189
- data/lib/gui_designer/gui_uart_baudrate.ui +161 -161
- data/lib/gui_designer/gui_uart_console.ui +284 -284
- data/lib/gui_designer/gui_uart_settings.ui +280 -280
- data/lib/gui_designer/gui_wire_helper.ui +117 -117
- data/lib/images/search.png +0 -0
- data/lib/logs/error.log +0 -63
- data/lib/models/bus.rb +19 -19
- data/lib/models/byte.rb +29 -29
- data/lib/models/chip.rb +41 -41
- data/lib/models/chip_type.rb +14 -14
- data/lib/models/command.rb +20 -20
- data/lib/models/i2c_setting.rb +41 -41
- data/lib/models/manufacturer.rb +14 -14
- data/lib/models/package.rb +26 -26
- data/lib/models/parallel_setting.rb +37 -37
- data/lib/models/pin.rb +14 -14
- data/lib/models/signall.rb +20 -20
- data/lib/models/spi_setting.rb +67 -67
- data/lib/models/swd_setting.rb +25 -25
- data/lib/models/uart_setting.rb +52 -52
- data/lib/models/use.rb +6 -6
- data/lib/startHardsploit.rb +10 -10
- metadata +14 -14
@@ -1,148 +1,148 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<ui version="4.0">
|
3
|
-
<class>I2c_command</class>
|
4
|
-
<widget class="QWidget" name="I2c_command">
|
5
|
-
<property name="windowModality">
|
6
|
-
<enum>Qt::ApplicationModal</enum>
|
7
|
-
</property>
|
8
|
-
<property name="geometry">
|
9
|
-
<rect>
|
10
|
-
<x>0</x>
|
11
|
-
<y>0</y>
|
12
|
-
<width>287</width>
|
13
|
-
<height>103</height>
|
14
|
-
</rect>
|
15
|
-
</property>
|
16
|
-
<property name="windowTitle">
|
17
|
-
<string>Hardsploit - I2C Command</string>
|
18
|
-
</property>
|
19
|
-
<layout class="QGridLayout" name="gridLayout">
|
20
|
-
<item row="1" column="0">
|
21
|
-
<layout class="QFormLayout" name="fl">
|
22
|
-
<item row="0" column="0">
|
23
|
-
<widget class="QLabel" name="lbl_size">
|
24
|
-
<property name="text">
|
25
|
-
<string>Payload size:</string>
|
26
|
-
</property>
|
27
|
-
</widget>
|
28
|
-
</item>
|
29
|
-
<item row="0" column="1">
|
30
|
-
<widget class="QLineEdit" name="lie_size"/>
|
31
|
-
</item>
|
32
|
-
<item row="1" column="0">
|
33
|
-
<widget class="QLabel" name="lbl_type_cmd">
|
34
|
-
<property name="text">
|
35
|
-
<string>Command type:</string>
|
36
|
-
</property>
|
37
|
-
</widget>
|
38
|
-
</item>
|
39
|
-
<item row="1" column="1">
|
40
|
-
<widget class="QGroupBox" name="groupBox">
|
41
|
-
<property name="title">
|
42
|
-
<string/>
|
43
|
-
</property>
|
44
|
-
<widget class="QRadioButton" name="rbn_read">
|
45
|
-
<property name="geometry">
|
46
|
-
<rect>
|
47
|
-
<x>10</x>
|
48
|
-
<y>-4</y>
|
49
|
-
<width>61</width>
|
50
|
-
<height>31</height>
|
51
|
-
</rect>
|
52
|
-
</property>
|
53
|
-
<property name="text">
|
54
|
-
<string>Read</string>
|
55
|
-
</property>
|
56
|
-
<property name="checked">
|
57
|
-
<bool>true</bool>
|
58
|
-
</property>
|
59
|
-
</widget>
|
60
|
-
<widget class="QRadioButton" name="rbn_write">
|
61
|
-
<property name="geometry">
|
62
|
-
<rect>
|
63
|
-
<x>90</x>
|
64
|
-
<y>0</y>
|
65
|
-
<width>61</width>
|
66
|
-
<height>21</height>
|
67
|
-
</rect>
|
68
|
-
</property>
|
69
|
-
<property name="text">
|
70
|
-
<string>Write</string>
|
71
|
-
</property>
|
72
|
-
</widget>
|
73
|
-
</widget>
|
74
|
-
</item>
|
75
|
-
</layout>
|
76
|
-
</item>
|
77
|
-
<item row="2" column="0">
|
78
|
-
<layout class="QHBoxLayout" name="hl">
|
79
|
-
<item>
|
80
|
-
<spacer name="hs">
|
81
|
-
<property name="orientation">
|
82
|
-
<enum>Qt::Horizontal</enum>
|
83
|
-
</property>
|
84
|
-
<property name="sizeHint" stdset="0">
|
85
|
-
<size>
|
86
|
-
<width>40</width>
|
87
|
-
<height>20</height>
|
88
|
-
</size>
|
89
|
-
</property>
|
90
|
-
</spacer>
|
91
|
-
</item>
|
92
|
-
<item>
|
93
|
-
<widget class="QPushButton" name="btn_cancel">
|
94
|
-
<property name="text">
|
95
|
-
<string>Cancel</string>
|
96
|
-
</property>
|
97
|
-
</widget>
|
98
|
-
</item>
|
99
|
-
<item>
|
100
|
-
<widget class="QPushButton" name="bnt_new_cmd">
|
101
|
-
<property name="text">
|
102
|
-
<string>Open</string>
|
103
|
-
</property>
|
104
|
-
</widget>
|
105
|
-
</item>
|
106
|
-
</layout>
|
107
|
-
</item>
|
108
|
-
</layout>
|
109
|
-
</widget>
|
110
|
-
<resources/>
|
111
|
-
<connections>
|
112
|
-
<connection>
|
113
|
-
<sender>btn_cancel</sender>
|
114
|
-
<signal>clicked()</signal>
|
115
|
-
<receiver>I2c_command</receiver>
|
116
|
-
<slot>close()</slot>
|
117
|
-
<hints>
|
118
|
-
<hint type="sourcelabel">
|
119
|
-
<x>110</x>
|
120
|
-
<y>74</y>
|
121
|
-
</hint>
|
122
|
-
<hint type="destinationlabel">
|
123
|
-
<x>251</x>
|
124
|
-
<y>80</y>
|
125
|
-
</hint>
|
126
|
-
</hints>
|
127
|
-
</connection>
|
128
|
-
<connection>
|
129
|
-
<sender>bnt_new_cmd</sender>
|
130
|
-
<signal>clicked()</signal>
|
131
|
-
<receiver>I2c_command</receiver>
|
132
|
-
<slot>open_generic_cmd()</slot>
|
133
|
-
<hints>
|
134
|
-
<hint type="sourcelabel">
|
135
|
-
<x>234</x>
|
136
|
-
<y>67</y>
|
137
|
-
</hint>
|
138
|
-
<hint type="destinationlabel">
|
139
|
-
<x>254</x>
|
140
|
-
<y>50</y>
|
141
|
-
</hint>
|
142
|
-
</hints>
|
143
|
-
</connection>
|
144
|
-
</connections>
|
145
|
-
<slots>
|
146
|
-
<slot>open_generic_cmd()</slot>
|
147
|
-
</slots>
|
148
|
-
</ui>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>I2c_command</class>
|
4
|
+
<widget class="QWidget" name="I2c_command">
|
5
|
+
<property name="windowModality">
|
6
|
+
<enum>Qt::ApplicationModal</enum>
|
7
|
+
</property>
|
8
|
+
<property name="geometry">
|
9
|
+
<rect>
|
10
|
+
<x>0</x>
|
11
|
+
<y>0</y>
|
12
|
+
<width>287</width>
|
13
|
+
<height>103</height>
|
14
|
+
</rect>
|
15
|
+
</property>
|
16
|
+
<property name="windowTitle">
|
17
|
+
<string>Hardsploit - I2C Command</string>
|
18
|
+
</property>
|
19
|
+
<layout class="QGridLayout" name="gridLayout">
|
20
|
+
<item row="1" column="0">
|
21
|
+
<layout class="QFormLayout" name="fl">
|
22
|
+
<item row="0" column="0">
|
23
|
+
<widget class="QLabel" name="lbl_size">
|
24
|
+
<property name="text">
|
25
|
+
<string>Payload size:</string>
|
26
|
+
</property>
|
27
|
+
</widget>
|
28
|
+
</item>
|
29
|
+
<item row="0" column="1">
|
30
|
+
<widget class="QLineEdit" name="lie_size"/>
|
31
|
+
</item>
|
32
|
+
<item row="1" column="0">
|
33
|
+
<widget class="QLabel" name="lbl_type_cmd">
|
34
|
+
<property name="text">
|
35
|
+
<string>Command type:</string>
|
36
|
+
</property>
|
37
|
+
</widget>
|
38
|
+
</item>
|
39
|
+
<item row="1" column="1">
|
40
|
+
<widget class="QGroupBox" name="groupBox">
|
41
|
+
<property name="title">
|
42
|
+
<string/>
|
43
|
+
</property>
|
44
|
+
<widget class="QRadioButton" name="rbn_read">
|
45
|
+
<property name="geometry">
|
46
|
+
<rect>
|
47
|
+
<x>10</x>
|
48
|
+
<y>-4</y>
|
49
|
+
<width>61</width>
|
50
|
+
<height>31</height>
|
51
|
+
</rect>
|
52
|
+
</property>
|
53
|
+
<property name="text">
|
54
|
+
<string>Read</string>
|
55
|
+
</property>
|
56
|
+
<property name="checked">
|
57
|
+
<bool>true</bool>
|
58
|
+
</property>
|
59
|
+
</widget>
|
60
|
+
<widget class="QRadioButton" name="rbn_write">
|
61
|
+
<property name="geometry">
|
62
|
+
<rect>
|
63
|
+
<x>90</x>
|
64
|
+
<y>0</y>
|
65
|
+
<width>61</width>
|
66
|
+
<height>21</height>
|
67
|
+
</rect>
|
68
|
+
</property>
|
69
|
+
<property name="text">
|
70
|
+
<string>Write</string>
|
71
|
+
</property>
|
72
|
+
</widget>
|
73
|
+
</widget>
|
74
|
+
</item>
|
75
|
+
</layout>
|
76
|
+
</item>
|
77
|
+
<item row="2" column="0">
|
78
|
+
<layout class="QHBoxLayout" name="hl">
|
79
|
+
<item>
|
80
|
+
<spacer name="hs">
|
81
|
+
<property name="orientation">
|
82
|
+
<enum>Qt::Horizontal</enum>
|
83
|
+
</property>
|
84
|
+
<property name="sizeHint" stdset="0">
|
85
|
+
<size>
|
86
|
+
<width>40</width>
|
87
|
+
<height>20</height>
|
88
|
+
</size>
|
89
|
+
</property>
|
90
|
+
</spacer>
|
91
|
+
</item>
|
92
|
+
<item>
|
93
|
+
<widget class="QPushButton" name="btn_cancel">
|
94
|
+
<property name="text">
|
95
|
+
<string>Cancel</string>
|
96
|
+
</property>
|
97
|
+
</widget>
|
98
|
+
</item>
|
99
|
+
<item>
|
100
|
+
<widget class="QPushButton" name="bnt_new_cmd">
|
101
|
+
<property name="text">
|
102
|
+
<string>Open</string>
|
103
|
+
</property>
|
104
|
+
</widget>
|
105
|
+
</item>
|
106
|
+
</layout>
|
107
|
+
</item>
|
108
|
+
</layout>
|
109
|
+
</widget>
|
110
|
+
<resources/>
|
111
|
+
<connections>
|
112
|
+
<connection>
|
113
|
+
<sender>btn_cancel</sender>
|
114
|
+
<signal>clicked()</signal>
|
115
|
+
<receiver>I2c_command</receiver>
|
116
|
+
<slot>close()</slot>
|
117
|
+
<hints>
|
118
|
+
<hint type="sourcelabel">
|
119
|
+
<x>110</x>
|
120
|
+
<y>74</y>
|
121
|
+
</hint>
|
122
|
+
<hint type="destinationlabel">
|
123
|
+
<x>251</x>
|
124
|
+
<y>80</y>
|
125
|
+
</hint>
|
126
|
+
</hints>
|
127
|
+
</connection>
|
128
|
+
<connection>
|
129
|
+
<sender>bnt_new_cmd</sender>
|
130
|
+
<signal>clicked()</signal>
|
131
|
+
<receiver>I2c_command</receiver>
|
132
|
+
<slot>open_generic_cmd()</slot>
|
133
|
+
<hints>
|
134
|
+
<hint type="sourcelabel">
|
135
|
+
<x>234</x>
|
136
|
+
<y>67</y>
|
137
|
+
</hint>
|
138
|
+
<hint type="destinationlabel">
|
139
|
+
<x>254</x>
|
140
|
+
<y>50</y>
|
141
|
+
</hint>
|
142
|
+
</hints>
|
143
|
+
</connection>
|
144
|
+
</connections>
|
145
|
+
<slots>
|
146
|
+
<slot>open_generic_cmd()</slot>
|
147
|
+
</slots>
|
148
|
+
</ui>
|
@@ -1,292 +1,292 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<ui version="4.0">
|
3
|
-
<class>I2c_settings</class>
|
4
|
-
<widget class="QWidget" name="I2c_settings">
|
5
|
-
<property name="geometry">
|
6
|
-
<rect>
|
7
|
-
<x>0</x>
|
8
|
-
<y>0</y>
|
9
|
-
<width>358</width>
|
10
|
-
<height>396</height>
|
11
|
-
</rect>
|
12
|
-
</property>
|
13
|
-
<property name="windowTitle">
|
14
|
-
<string>Hardsploit - I²C settings</string>
|
15
|
-
</property>
|
16
|
-
<layout class="QGridLayout" name="gridLayout">
|
17
|
-
<item row="0" column="0">
|
18
|
-
<layout class="QVBoxLayout" name="vl">
|
19
|
-
<item>
|
20
|
-
<layout class="QHBoxLayout" name="hl2">
|
21
|
-
<item>
|
22
|
-
<widget class="QLabel" name="lbl_chip">
|
23
|
-
<property name="text">
|
24
|
-
<string>[CHIP]</string>
|
25
|
-
</property>
|
26
|
-
</widget>
|
27
|
-
</item>
|
28
|
-
<item>
|
29
|
-
<widget class="QLabel" name="lbl_parameters">
|
30
|
-
<property name="text">
|
31
|
-
<string>PARAMETERS</string>
|
32
|
-
</property>
|
33
|
-
</widget>
|
34
|
-
</item>
|
35
|
-
<item>
|
36
|
-
<spacer name="hs2">
|
37
|
-
<property name="orientation">
|
38
|
-
<enum>Qt::Horizontal</enum>
|
39
|
-
</property>
|
40
|
-
<property name="sizeHint" stdset="0">
|
41
|
-
<size>
|
42
|
-
<width>40</width>
|
43
|
-
<height>20</height>
|
44
|
-
</size>
|
45
|
-
</property>
|
46
|
-
</spacer>
|
47
|
-
</item>
|
48
|
-
</layout>
|
49
|
-
</item>
|
50
|
-
<item>
|
51
|
-
<layout class="QFormLayout" name="fl">
|
52
|
-
<item row="1" column="0">
|
53
|
-
<widget class="QLabel" name="lbl_address_w">
|
54
|
-
<property name="text">
|
55
|
-
<string>Base address (W):</string>
|
56
|
-
</property>
|
57
|
-
</widget>
|
58
|
-
</item>
|
59
|
-
<item row="1" column="1">
|
60
|
-
<widget class="QLineEdit" name="lie_address_w">
|
61
|
-
<property name="maxLength">
|
62
|
-
<number>2</number>
|
63
|
-
</property>
|
64
|
-
<property name="placeholderText">
|
65
|
-
<string>in hexadecimal</string>
|
66
|
-
</property>
|
67
|
-
</widget>
|
68
|
-
</item>
|
69
|
-
<item row="2" column="0">
|
70
|
-
<widget class="QLabel" name="lbl_address_r">
|
71
|
-
<property name="text">
|
72
|
-
<string>Base address (R):</string>
|
73
|
-
</property>
|
74
|
-
</widget>
|
75
|
-
</item>
|
76
|
-
<item row="2" column="1">
|
77
|
-
<widget class="QLineEdit" name="lie_address_r">
|
78
|
-
<property name="maxLength">
|
79
|
-
<number>2</number>
|
80
|
-
</property>
|
81
|
-
<property name="placeholderText">
|
82
|
-
<string>in hexadecimal</string>
|
83
|
-
</property>
|
84
|
-
</widget>
|
85
|
-
</item>
|
86
|
-
<item row="3" column="0">
|
87
|
-
<widget class="QLabel" name="lbl_frequency">
|
88
|
-
<property name="text">
|
89
|
-
<string>Frequency (Khz):</string>
|
90
|
-
</property>
|
91
|
-
</widget>
|
92
|
-
</item>
|
93
|
-
<item row="3" column="1">
|
94
|
-
<widget class="QComboBox" name="cbx_frequency">
|
95
|
-
<item>
|
96
|
-
<property name="text">
|
97
|
-
<string>100</string>
|
98
|
-
</property>
|
99
|
-
</item>
|
100
|
-
<item>
|
101
|
-
<property name="text">
|
102
|
-
<string>400</string>
|
103
|
-
</property>
|
104
|
-
</item>
|
105
|
-
<item>
|
106
|
-
<property name="text">
|
107
|
-
<string>1000</string>
|
108
|
-
</property>
|
109
|
-
</item>
|
110
|
-
</widget>
|
111
|
-
</item>
|
112
|
-
<item row="6" column="0">
|
113
|
-
<widget class="QLabel" name="lbl_full_size">
|
114
|
-
<property name="text">
|
115
|
-
<string>Total size:</string>
|
116
|
-
</property>
|
117
|
-
</widget>
|
118
|
-
</item>
|
119
|
-
<item row="6" column="1">
|
120
|
-
<widget class="QLineEdit" name="lie_total_size">
|
121
|
-
<property name="placeholderText">
|
122
|
-
<string>in byte, to a maximum of 4Go</string>
|
123
|
-
</property>
|
124
|
-
</widget>
|
125
|
-
</item>
|
126
|
-
<item row="7" column="0">
|
127
|
-
<widget class="QLabel" name="lbl_bus_scan">
|
128
|
-
<property name="text">
|
129
|
-
<string>Bus scan:</string>
|
130
|
-
</property>
|
131
|
-
</widget>
|
132
|
-
</item>
|
133
|
-
<item row="7" column="1">
|
134
|
-
<widget class="QPushButton" name="btn_bus_scan">
|
135
|
-
<property name="text">
|
136
|
-
<string>Launch</string>
|
137
|
-
</property>
|
138
|
-
</widget>
|
139
|
-
</item>
|
140
|
-
<item row="5" column="1">
|
141
|
-
<widget class="QLineEdit" name="lie_page_size">
|
142
|
-
<property name="text">
|
143
|
-
<string/>
|
144
|
-
</property>
|
145
|
-
<property name="placeholderText">
|
146
|
-
<string>in byte</string>
|
147
|
-
</property>
|
148
|
-
</widget>
|
149
|
-
</item>
|
150
|
-
<item row="5" column="0">
|
151
|
-
<widget class="QLabel" name="lbl_page_size">
|
152
|
-
<property name="text">
|
153
|
-
<string>Page size:</string>
|
154
|
-
</property>
|
155
|
-
</widget>
|
156
|
-
</item>
|
157
|
-
<item row="4" column="0">
|
158
|
-
<widget class="QLabel" name="lbl_write_page_latency">
|
159
|
-
<property name="text">
|
160
|
-
<string>Write page latency:</string>
|
161
|
-
</property>
|
162
|
-
</widget>
|
163
|
-
</item>
|
164
|
-
<item row="4" column="1">
|
165
|
-
<widget class="QLineEdit" name="lie_write_page_latency">
|
166
|
-
<property name="placeholderText">
|
167
|
-
<string>in miliseconds</string>
|
168
|
-
</property>
|
169
|
-
</widget>
|
170
|
-
</item>
|
171
|
-
</layout>
|
172
|
-
</item>
|
173
|
-
<item>
|
174
|
-
<widget class="QTableWidget" name="tbl_bus_scan">
|
175
|
-
<attribute name="horizontalHeaderDefaultSectionSize">
|
176
|
-
<number>85</number>
|
177
|
-
</attribute>
|
178
|
-
<attribute name="horizontalHeaderStretchLastSection">
|
179
|
-
<bool>true</bool>
|
180
|
-
</attribute>
|
181
|
-
<attribute name="verticalHeaderVisible">
|
182
|
-
<bool>false</bool>
|
183
|
-
</attribute>
|
184
|
-
<column>
|
185
|
-
<property name="text">
|
186
|
-
<string>Address</string>
|
187
|
-
</property>
|
188
|
-
</column>
|
189
|
-
<column>
|
190
|
-
<property name="text">
|
191
|
-
<string>R/W</string>
|
192
|
-
</property>
|
193
|
-
</column>
|
194
|
-
</widget>
|
195
|
-
</item>
|
196
|
-
<item>
|
197
|
-
<layout class="QHBoxLayout" name="hl">
|
198
|
-
<item>
|
199
|
-
<spacer name="hs">
|
200
|
-
<property name="orientation">
|
201
|
-
<enum>Qt::Horizontal</enum>
|
202
|
-
</property>
|
203
|
-
<property name="sizeHint" stdset="0">
|
204
|
-
<size>
|
205
|
-
<width>40</width>
|
206
|
-
<height>20</height>
|
207
|
-
</size>
|
208
|
-
</property>
|
209
|
-
</spacer>
|
210
|
-
</item>
|
211
|
-
<item>
|
212
|
-
<widget class="QPushButton" name="btn_cancel">
|
213
|
-
<property name="text">
|
214
|
-
<string>Close</string>
|
215
|
-
</property>
|
216
|
-
</widget>
|
217
|
-
</item>
|
218
|
-
<item>
|
219
|
-
<widget class="QPushButton" name="btn_save">
|
220
|
-
<property name="maximumSize">
|
221
|
-
<size>
|
222
|
-
<width>16777215</width>
|
223
|
-
<height>16777215</height>
|
224
|
-
</size>
|
225
|
-
</property>
|
226
|
-
<property name="text">
|
227
|
-
<string>Save</string>
|
228
|
-
</property>
|
229
|
-
</widget>
|
230
|
-
</item>
|
231
|
-
</layout>
|
232
|
-
</item>
|
233
|
-
</layout>
|
234
|
-
</item>
|
235
|
-
</layout>
|
236
|
-
</widget>
|
237
|
-
<resources/>
|
238
|
-
<connections>
|
239
|
-
<connection>
|
240
|
-
<sender>btn_cancel</sender>
|
241
|
-
<signal>clicked()</signal>
|
242
|
-
<receiver>I2c_settings</receiver>
|
243
|
-
<slot>close()</slot>
|
244
|
-
<hints>
|
245
|
-
<hint type="sourcelabel">
|
246
|
-
<x>265</x>
|
247
|
-
<y>384</y>
|
248
|
-
</hint>
|
249
|
-
<hint type="destinationlabel">
|
250
|
-
<x>357</x>
|
251
|
-
<y>130</y>
|
252
|
-
</hint>
|
253
|
-
</hints>
|
254
|
-
</connection>
|
255
|
-
<connection>
|
256
|
-
<sender>btn_save</sender>
|
257
|
-
<signal>clicked()</signal>
|
258
|
-
<receiver>I2c_settings</receiver>
|
259
|
-
<slot>save_settings()</slot>
|
260
|
-
<hints>
|
261
|
-
<hint type="sourcelabel">
|
262
|
-
<x>346</x>
|
263
|
-
<y>384</y>
|
264
|
-
</hint>
|
265
|
-
<hint type="destinationlabel">
|
266
|
-
<x>357</x>
|
267
|
-
<y>169</y>
|
268
|
-
</hint>
|
269
|
-
</hints>
|
270
|
-
</connection>
|
271
|
-
<connection>
|
272
|
-
<sender>btn_bus_scan</sender>
|
273
|
-
<signal>clicked()</signal>
|
274
|
-
<receiver>I2c_settings</receiver>
|
275
|
-
<slot>bus_scan()</slot>
|
276
|
-
<hints>
|
277
|
-
<hint type="sourcelabel">
|
278
|
-
<x>338</x>
|
279
|
-
<y>158</y>
|
280
|
-
</hint>
|
281
|
-
<hint type="destinationlabel">
|
282
|
-
<x>356</x>
|
283
|
-
<y>90</y>
|
284
|
-
</hint>
|
285
|
-
</hints>
|
286
|
-
</connection>
|
287
|
-
</connections>
|
288
|
-
<slots>
|
289
|
-
<slot>save_settings()</slot>
|
290
|
-
<slot>bus_scan()</slot>
|
291
|
-
</slots>
|
292
|
-
</ui>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>I2c_settings</class>
|
4
|
+
<widget class="QWidget" name="I2c_settings">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>358</width>
|
10
|
+
<height>396</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="windowTitle">
|
14
|
+
<string>Hardsploit - I²C settings</string>
|
15
|
+
</property>
|
16
|
+
<layout class="QGridLayout" name="gridLayout">
|
17
|
+
<item row="0" column="0">
|
18
|
+
<layout class="QVBoxLayout" name="vl">
|
19
|
+
<item>
|
20
|
+
<layout class="QHBoxLayout" name="hl2">
|
21
|
+
<item>
|
22
|
+
<widget class="QLabel" name="lbl_chip">
|
23
|
+
<property name="text">
|
24
|
+
<string>[CHIP]</string>
|
25
|
+
</property>
|
26
|
+
</widget>
|
27
|
+
</item>
|
28
|
+
<item>
|
29
|
+
<widget class="QLabel" name="lbl_parameters">
|
30
|
+
<property name="text">
|
31
|
+
<string>PARAMETERS</string>
|
32
|
+
</property>
|
33
|
+
</widget>
|
34
|
+
</item>
|
35
|
+
<item>
|
36
|
+
<spacer name="hs2">
|
37
|
+
<property name="orientation">
|
38
|
+
<enum>Qt::Horizontal</enum>
|
39
|
+
</property>
|
40
|
+
<property name="sizeHint" stdset="0">
|
41
|
+
<size>
|
42
|
+
<width>40</width>
|
43
|
+
<height>20</height>
|
44
|
+
</size>
|
45
|
+
</property>
|
46
|
+
</spacer>
|
47
|
+
</item>
|
48
|
+
</layout>
|
49
|
+
</item>
|
50
|
+
<item>
|
51
|
+
<layout class="QFormLayout" name="fl">
|
52
|
+
<item row="1" column="0">
|
53
|
+
<widget class="QLabel" name="lbl_address_w">
|
54
|
+
<property name="text">
|
55
|
+
<string>Base address (W):</string>
|
56
|
+
</property>
|
57
|
+
</widget>
|
58
|
+
</item>
|
59
|
+
<item row="1" column="1">
|
60
|
+
<widget class="QLineEdit" name="lie_address_w">
|
61
|
+
<property name="maxLength">
|
62
|
+
<number>2</number>
|
63
|
+
</property>
|
64
|
+
<property name="placeholderText">
|
65
|
+
<string>in hexadecimal</string>
|
66
|
+
</property>
|
67
|
+
</widget>
|
68
|
+
</item>
|
69
|
+
<item row="2" column="0">
|
70
|
+
<widget class="QLabel" name="lbl_address_r">
|
71
|
+
<property name="text">
|
72
|
+
<string>Base address (R):</string>
|
73
|
+
</property>
|
74
|
+
</widget>
|
75
|
+
</item>
|
76
|
+
<item row="2" column="1">
|
77
|
+
<widget class="QLineEdit" name="lie_address_r">
|
78
|
+
<property name="maxLength">
|
79
|
+
<number>2</number>
|
80
|
+
</property>
|
81
|
+
<property name="placeholderText">
|
82
|
+
<string>in hexadecimal</string>
|
83
|
+
</property>
|
84
|
+
</widget>
|
85
|
+
</item>
|
86
|
+
<item row="3" column="0">
|
87
|
+
<widget class="QLabel" name="lbl_frequency">
|
88
|
+
<property name="text">
|
89
|
+
<string>Frequency (Khz):</string>
|
90
|
+
</property>
|
91
|
+
</widget>
|
92
|
+
</item>
|
93
|
+
<item row="3" column="1">
|
94
|
+
<widget class="QComboBox" name="cbx_frequency">
|
95
|
+
<item>
|
96
|
+
<property name="text">
|
97
|
+
<string>100</string>
|
98
|
+
</property>
|
99
|
+
</item>
|
100
|
+
<item>
|
101
|
+
<property name="text">
|
102
|
+
<string>400</string>
|
103
|
+
</property>
|
104
|
+
</item>
|
105
|
+
<item>
|
106
|
+
<property name="text">
|
107
|
+
<string>1000</string>
|
108
|
+
</property>
|
109
|
+
</item>
|
110
|
+
</widget>
|
111
|
+
</item>
|
112
|
+
<item row="6" column="0">
|
113
|
+
<widget class="QLabel" name="lbl_full_size">
|
114
|
+
<property name="text">
|
115
|
+
<string>Total size:</string>
|
116
|
+
</property>
|
117
|
+
</widget>
|
118
|
+
</item>
|
119
|
+
<item row="6" column="1">
|
120
|
+
<widget class="QLineEdit" name="lie_total_size">
|
121
|
+
<property name="placeholderText">
|
122
|
+
<string>in byte, to a maximum of 4Go</string>
|
123
|
+
</property>
|
124
|
+
</widget>
|
125
|
+
</item>
|
126
|
+
<item row="7" column="0">
|
127
|
+
<widget class="QLabel" name="lbl_bus_scan">
|
128
|
+
<property name="text">
|
129
|
+
<string>Bus scan:</string>
|
130
|
+
</property>
|
131
|
+
</widget>
|
132
|
+
</item>
|
133
|
+
<item row="7" column="1">
|
134
|
+
<widget class="QPushButton" name="btn_bus_scan">
|
135
|
+
<property name="text">
|
136
|
+
<string>Launch</string>
|
137
|
+
</property>
|
138
|
+
</widget>
|
139
|
+
</item>
|
140
|
+
<item row="5" column="1">
|
141
|
+
<widget class="QLineEdit" name="lie_page_size">
|
142
|
+
<property name="text">
|
143
|
+
<string/>
|
144
|
+
</property>
|
145
|
+
<property name="placeholderText">
|
146
|
+
<string>in byte</string>
|
147
|
+
</property>
|
148
|
+
</widget>
|
149
|
+
</item>
|
150
|
+
<item row="5" column="0">
|
151
|
+
<widget class="QLabel" name="lbl_page_size">
|
152
|
+
<property name="text">
|
153
|
+
<string>Page size:</string>
|
154
|
+
</property>
|
155
|
+
</widget>
|
156
|
+
</item>
|
157
|
+
<item row="4" column="0">
|
158
|
+
<widget class="QLabel" name="lbl_write_page_latency">
|
159
|
+
<property name="text">
|
160
|
+
<string>Write page latency:</string>
|
161
|
+
</property>
|
162
|
+
</widget>
|
163
|
+
</item>
|
164
|
+
<item row="4" column="1">
|
165
|
+
<widget class="QLineEdit" name="lie_write_page_latency">
|
166
|
+
<property name="placeholderText">
|
167
|
+
<string>in miliseconds</string>
|
168
|
+
</property>
|
169
|
+
</widget>
|
170
|
+
</item>
|
171
|
+
</layout>
|
172
|
+
</item>
|
173
|
+
<item>
|
174
|
+
<widget class="QTableWidget" name="tbl_bus_scan">
|
175
|
+
<attribute name="horizontalHeaderDefaultSectionSize">
|
176
|
+
<number>85</number>
|
177
|
+
</attribute>
|
178
|
+
<attribute name="horizontalHeaderStretchLastSection">
|
179
|
+
<bool>true</bool>
|
180
|
+
</attribute>
|
181
|
+
<attribute name="verticalHeaderVisible">
|
182
|
+
<bool>false</bool>
|
183
|
+
</attribute>
|
184
|
+
<column>
|
185
|
+
<property name="text">
|
186
|
+
<string>Address</string>
|
187
|
+
</property>
|
188
|
+
</column>
|
189
|
+
<column>
|
190
|
+
<property name="text">
|
191
|
+
<string>R/W</string>
|
192
|
+
</property>
|
193
|
+
</column>
|
194
|
+
</widget>
|
195
|
+
</item>
|
196
|
+
<item>
|
197
|
+
<layout class="QHBoxLayout" name="hl">
|
198
|
+
<item>
|
199
|
+
<spacer name="hs">
|
200
|
+
<property name="orientation">
|
201
|
+
<enum>Qt::Horizontal</enum>
|
202
|
+
</property>
|
203
|
+
<property name="sizeHint" stdset="0">
|
204
|
+
<size>
|
205
|
+
<width>40</width>
|
206
|
+
<height>20</height>
|
207
|
+
</size>
|
208
|
+
</property>
|
209
|
+
</spacer>
|
210
|
+
</item>
|
211
|
+
<item>
|
212
|
+
<widget class="QPushButton" name="btn_cancel">
|
213
|
+
<property name="text">
|
214
|
+
<string>Close</string>
|
215
|
+
</property>
|
216
|
+
</widget>
|
217
|
+
</item>
|
218
|
+
<item>
|
219
|
+
<widget class="QPushButton" name="btn_save">
|
220
|
+
<property name="maximumSize">
|
221
|
+
<size>
|
222
|
+
<width>16777215</width>
|
223
|
+
<height>16777215</height>
|
224
|
+
</size>
|
225
|
+
</property>
|
226
|
+
<property name="text">
|
227
|
+
<string>Save</string>
|
228
|
+
</property>
|
229
|
+
</widget>
|
230
|
+
</item>
|
231
|
+
</layout>
|
232
|
+
</item>
|
233
|
+
</layout>
|
234
|
+
</item>
|
235
|
+
</layout>
|
236
|
+
</widget>
|
237
|
+
<resources/>
|
238
|
+
<connections>
|
239
|
+
<connection>
|
240
|
+
<sender>btn_cancel</sender>
|
241
|
+
<signal>clicked()</signal>
|
242
|
+
<receiver>I2c_settings</receiver>
|
243
|
+
<slot>close()</slot>
|
244
|
+
<hints>
|
245
|
+
<hint type="sourcelabel">
|
246
|
+
<x>265</x>
|
247
|
+
<y>384</y>
|
248
|
+
</hint>
|
249
|
+
<hint type="destinationlabel">
|
250
|
+
<x>357</x>
|
251
|
+
<y>130</y>
|
252
|
+
</hint>
|
253
|
+
</hints>
|
254
|
+
</connection>
|
255
|
+
<connection>
|
256
|
+
<sender>btn_save</sender>
|
257
|
+
<signal>clicked()</signal>
|
258
|
+
<receiver>I2c_settings</receiver>
|
259
|
+
<slot>save_settings()</slot>
|
260
|
+
<hints>
|
261
|
+
<hint type="sourcelabel">
|
262
|
+
<x>346</x>
|
263
|
+
<y>384</y>
|
264
|
+
</hint>
|
265
|
+
<hint type="destinationlabel">
|
266
|
+
<x>357</x>
|
267
|
+
<y>169</y>
|
268
|
+
</hint>
|
269
|
+
</hints>
|
270
|
+
</connection>
|
271
|
+
<connection>
|
272
|
+
<sender>btn_bus_scan</sender>
|
273
|
+
<signal>clicked()</signal>
|
274
|
+
<receiver>I2c_settings</receiver>
|
275
|
+
<slot>bus_scan()</slot>
|
276
|
+
<hints>
|
277
|
+
<hint type="sourcelabel">
|
278
|
+
<x>338</x>
|
279
|
+
<y>158</y>
|
280
|
+
</hint>
|
281
|
+
<hint type="destinationlabel">
|
282
|
+
<x>356</x>
|
283
|
+
<y>90</y>
|
284
|
+
</hint>
|
285
|
+
</hints>
|
286
|
+
</connection>
|
287
|
+
</connections>
|
288
|
+
<slots>
|
289
|
+
<slot>save_settings()</slot>
|
290
|
+
<slot>bus_scan()</slot>
|
291
|
+
</slots>
|
292
|
+
</ui>
|