Update README.md

pull/2/head
wh201906 5 years ago
parent fc91bfee2c
commit fd009745f9

@ -1,5 +1,5 @@
# Proxmark3GUI # Proxmark3GUI
A GUI for Proxmark3 client A GUI for [Proxmark3](https://github.com/Proxmark/proxmark3) client
*** ***

@ -163,7 +163,7 @@ void MainWindow::on_MF_RW_readAllButton_clicked()
QApplication::processEvents(); QApplication::processEvents();
result = ""; result = "";
validkey = -1; validkey = -1;
if(MF_isKeyValid(ui->MF_keyWidget->item(i, 1)->text())) if(ui->MF_keyWidget->item(i,1)!=nullptr && MF_isKeyValid(ui->MF_keyWidget->item(i, 1)->text()))
{ {
result = execCMDWithOutput("hf mf rdbl " result = execCMDWithOutput("hf mf rdbl "
+ QString::number(4 * i) + QString::number(4 * i)
@ -175,7 +175,7 @@ void MainWindow::on_MF_RW_readAllButton_clicked()
ui->MF_dataWidget->setItem(4 * i, 2,new QTableWidgetItem(result.mid(result.indexOf("isOk:01")+13, 47).toUpper())); ui->MF_dataWidget->setItem(4 * i, 2,new QTableWidgetItem(result.mid(result.indexOf("isOk:01")+13, 47).toUpper()));
} }
} }
if(validkey == -1 && MF_isKeyValid(ui->MF_keyWidget->item(i, 2)->text())) if(validkey == -1 && ui->MF_keyWidget->item(i,2)!=nullptr && MF_isKeyValid(ui->MF_keyWidget->item(i, 2)->text()))
{ {
result = execCMDWithOutput("hf mf rdbl " result = execCMDWithOutput("hf mf rdbl "
+ QString::number(4 * i) + QString::number(4 * i)

Loading…
Cancel
Save