From 8565781f66e6cafaaa2499df17c63856fde0ae2a Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 19 Oct 2023 14:22:13 +0200 Subject: [PATCH] text --- client/src/cmdhficlass.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/client/src/cmdhficlass.c b/client/src/cmdhficlass.c index 3cda9feef..3e06a93c9 100644 --- a/client/src/cmdhficlass.c +++ b/client/src/cmdhficlass.c @@ -4513,10 +4513,16 @@ static int CmdHFiClassSAM(const char *Cmd) { if (strlen(binstr) >= 26 && verbose) { + // iCLASS Legacy + PrintAndLogEx(INFO, "Clone to " _YELLOW_("iCLASS Legacy")); + PrintAndLogEx(SUCCESS, " hf iclass encode --ki 0 --bin %s", binstr); + PrintAndLogEx(NORMAL, ""); + // HID Prox II PrintAndLogEx(INFO, "Downgrade to " _YELLOW_("HID Prox II")); PrintAndLogEx(SUCCESS, " lf hid clone -w H10301 --bin %s", binstr); PrintAndLogEx(NORMAL, ""); + // MIFARE Classic char mfcbin[28] = {0}; mfcbin[0] = '1'; @@ -4533,9 +4539,8 @@ static int CmdHFiClassSAM(const char *Cmd) { PrintAndLogEx(SUCCESS, " hf mf sim --1k -i;"); PrintAndLogEx(NORMAL, ""); - // iCLASS Legacy - PrintAndLogEx(INFO, "Clone to " _YELLOW_("iCLASS Legacy")); - PrintAndLogEx(SUCCESS, " hf iclass encode --ki 0 --bin %s", binstr); + PrintAndLogEx(INFO, "Downgrade to " _YELLOW_("MIFARE Classic 1K")); + PrintAndLogEx(SUCCESS, " hf mf encodehid --bin %s", binstr); PrintAndLogEx(NORMAL, ""); } free(binstr);