mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
hf 14a info - bette hint for EMV cards
This commit is contained in:
parent
f96a48242f
commit
2e7d1e299d
1 changed files with 7 additions and 2 deletions
|
@ -1641,6 +1641,7 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) {
|
||||||
bool isMifarePlus = false;
|
bool isMifarePlus = false;
|
||||||
bool isMifareUltralight = false;
|
bool isMifareUltralight = false;
|
||||||
bool isST = false;
|
bool isST = false;
|
||||||
|
bool isEMV = false;
|
||||||
int nxptype = MTNONE;
|
int nxptype = MTNONE;
|
||||||
|
|
||||||
if (card.uidlen <= 4) {
|
if (card.uidlen <= 4) {
|
||||||
|
@ -2055,6 +2056,7 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) {
|
||||||
|
|
||||||
if (verbose) PrintAndLogEx(SUCCESS, "----------------------------------------------------");
|
if (verbose) PrintAndLogEx(SUCCESS, "----------------------------------------------------");
|
||||||
found = true;
|
found = true;
|
||||||
|
isEMV = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2104,14 +2106,17 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) {
|
||||||
if (isMifareUltralight)
|
if (isMifareUltralight)
|
||||||
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf mfu info`"));
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf mfu info`"));
|
||||||
|
|
||||||
if (isMifarePlus && isMagic == 0)
|
if (isMifarePlus && isMagic == 0 && isEMV == false)
|
||||||
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf mfp info`"));
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf mfp info`"));
|
||||||
|
|
||||||
if (isMifareDESFire && isMagic == 0)
|
if (isMifareDESFire && isMagic == 0 && isEMV == false)
|
||||||
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf mfdes info`"));
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf mfdes info`"));
|
||||||
|
|
||||||
if (isST)
|
if (isST)
|
||||||
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf st info`"));
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf st info`"));
|
||||||
|
|
||||||
|
if (isEMV)
|
||||||
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`emv search -sk`"));
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
DropField();
|
DropField();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue