This commit is contained in:
iceman1001 2025-05-24 12:33:11 +02:00
commit a2f9012e13

View file

@ -3087,10 +3087,15 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
PrintAndLogEx(SUCCESS, "Using " _YELLOW_("credit") " key"); PrintAndLogEx(SUCCESS, "Using " _YELLOW_("credit") " key");
keyType = 0x18; // credit key keyType = 0x18; // credit key
} }
if (auth == false) { if (auth == false) {
PrintAndLogEx(SUCCESS, "No key supplied. Trying no authentication read/writes"); PrintAndLogEx(SUCCESS, "No key supplied. Trying no authentication read/writes");
} }
if (tearoff_sleep) {
PrintAndLogEx(SUCCESS, "Using " _YELLOW_("%u") " ms delay between attempts", tearoff_sleep);
}
//check if the card is in secure mode or not //check if the card is in secure mode or not
iclass_card_select_t payload_rdr = { iclass_card_select_t payload_rdr = {
.flags = (FLAG_ICLASS_READER_INIT | FLAG_ICLASS_READER_CLEARTRACE) .flags = (FLAG_ICLASS_READER_INIT | FLAG_ICLASS_READER_CLEARTRACE)