diff --git a/client/src/cmdlfem410x.c b/client/src/cmdlfem410x.c index a541bf9f0..1cff87be3 100644 --- a/client/src/cmdlfem410x.c +++ b/client/src/cmdlfem410x.c @@ -108,8 +108,6 @@ static void em410x_construct_emul_graph(uint8_t *uid, uint8_t clock, uint8_t gap // print 64 bit EM410x ID in multiple formats void printEM410x(uint32_t hi, uint64_t id, bool verbose, int type) { - if (!id && !hi) return; - if (verbose == false) { if (type & 0x1) { // Short ID PrintAndLogEx(SUCCESS, "EM 410x ID "_GREEN_("%010" PRIX64), id); @@ -254,11 +252,6 @@ static int ask_em410x_binary_decode(bool verbose, uint32_t *hi, uint64_t *lo, ui return PM3_ESOFT; } - if (!lo && !hi) { - PrintAndLogEx(DEBUG, "DEBUG: Error - Em410x decoded to all zeros"); - return PM3_ESOFT; - } - PrintAndLogEx(DEBUG, "DEBUG: Em410x idx: %zu, Len: %zu, Printing DemodBuffer:", *idx, *size); if (g_debugMode) { printDemodBuff(0, false, false, true); @@ -680,7 +673,7 @@ static int CmdEM410xClone(const char *Cmd) { "lf em 410x clone --id 0F0368568B -> encode for T55x7 tag\n" "lf em 410x clone --id 0F0368568B --q5 -> encode for Q5/T5555 tag\n" "lf em 410x clone --id 0F0368568B --em -> encode for EM4305/4469\n" - "lf em 410x clone --id 0F0368568B --hts -> encode for Hitag S/8211/8268/8310" + "lf em 410x clone --id 0F0368568B --hts -> encode for Hitag S/8211/8268/8310" ); void *argtable[] = {