Update README.md

This commit is contained in:
wh201906 2020-04-16 12:58:18 +08:00
parent fc91bfee2c
commit fd009745f9
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -163,7 +163,7 @@ void MainWindow::on_MF_RW_readAllButton_clicked()
QApplication::processEvents();
result = "";
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 "
+ 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()));
}
}
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 "
+ QString::number(4 * i)