mirror of
https://github.com/wh201906/Proxmark3GUI.git
synced 2025-03-03 13:27:39 +08:00
Show more information when running card info
This commit is contained in:
parent
b9da3e9209
commit
d466e5536b
@ -48,7 +48,8 @@
|
||||
"key B index": 4
|
||||
},
|
||||
"info": {
|
||||
"cmd": "hf 14a info"
|
||||
"cmd": "hf 14a info -nsv",
|
||||
"basic cmd": "hf 14a info"
|
||||
},
|
||||
"sniff": {
|
||||
"cmd": "hf sniff"
|
||||
|
@ -48,7 +48,8 @@
|
||||
"key B index": 4
|
||||
},
|
||||
"info": {
|
||||
"cmd": "hf 14a info"
|
||||
"cmd": "hf 14a info -nsv",
|
||||
"basic cmd": "hf 14a info"
|
||||
},
|
||||
"sniff": {
|
||||
"cmd": "hf sniff"
|
||||
|
@ -48,7 +48,8 @@
|
||||
"key B index": 4
|
||||
},
|
||||
"info": {
|
||||
"cmd": "hf 14a info -nsv"
|
||||
"cmd": "hf 14a info -nsv",
|
||||
"basic cmd": "hf 14a info"
|
||||
},
|
||||
"sniff": {
|
||||
"cmd": "hf sniff"
|
||||
|
@ -102,7 +102,12 @@ QMap<QString, QString> Mifare::info(bool isRequiringOutput)
|
||||
QVariantMap config = configMap["info"].toMap();
|
||||
if(isRequiringOutput)
|
||||
{
|
||||
QString result = util->execCMDWithOutput(config["cmd"].toString(), 500);
|
||||
QString cmd = config["basic cmd"].toString();
|
||||
|
||||
// for official client
|
||||
if(cmd.isEmpty())
|
||||
cmd = config["cmd"].toString();
|
||||
QString result = util->execCMDWithOutput(cmd, 500);
|
||||
QStringList lineList = result.split("\n");
|
||||
|
||||
for(auto line = lineList.begin(); line != lineList.end(); line++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user