diff --git a/client/emv/cmdemv.c b/client/emv/cmdemv.c index 0b50ecfe1..5ac9adb00 100644 --- a/client/emv/cmdemv.c +++ b/client/emv/cmdemv.c @@ -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) {