mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
check PPSE instead of PSE and vice versa. I have one card with this strange behavior...
This commit is contained in:
parent
a30c62137b
commit
e61a65fbe8
1 changed files with 6 additions and 0 deletions
|
@ -829,6 +829,12 @@ static int CmdEMVExec(const char *Cmd) {
|
|||
PrintAndLogEx(NORMAL, "\n* PPSE.");
|
||||
SetAPDULogging(showAPDU);
|
||||
res = EMVSearchPSE(channel, activateField, true, psenum, decodeTLV, tlvSelect);
|
||||
|
||||
// check PPSE instead of PSE and vice versa
|
||||
if (res) {
|
||||
PrintAndLogEx(NORMAL, "Check PPSE instead of PSE and vice versa...");
|
||||
res = EMVSearchPSE(channel, false, true, psenum == 1 ? 2 : 1, decodeTLV, tlvSelect);
|
||||
}
|
||||
|
||||
// check PPSE and select application id
|
||||
if (!res) {
|
||||
|
|
Loading…
Reference in a new issue