Proxmark3GUI/mf_attack_hardnesteddialog.cpp

29 lines
765 B
C++
Raw Normal View History

2020-04-15 00:38:43 +08:00
#include "mf_attack_hardnesteddialog.h"
#include "ui_mf_attack_hardnesteddialog.h"
MF_Attack_hardnestedDialog::MF_Attack_hardnestedDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::MF_Attack_hardnestedDialog)
{
ui->setupUi(this);
}
MF_Attack_hardnestedDialog::~MF_Attack_hardnestedDialog()
{
delete ui;
}
void MF_Attack_hardnestedDialog::on_buttonBox_accepted()
{
emit sendCMD("hf mf hardnested "
+ui->knownKeySectorBox->text()
+" "
+ui->knownKeyTypeBox->currentText()
+" "
+ui->knownKeyBox->text()
+" "
+ui->targetKeySectorBox->text()
+" "
+ui->targetKeyTypeBox->currentText());
}