This commit is contained in:
iceman1001 2019-08-12 16:32:27 -04:00
parent bbc324f9fe
commit de1093d5d9

View file

@ -411,11 +411,11 @@ static int CmdLfNedapGen(const char *Cmd) {
} }
PrintAndLogEx(SUCCESS, PrintAndLogEx(SUCCESS,
"Tag (%s) ; subtype : %1u , customer : %03x , ID : %05u" "Tag - subtype: %1u , customer code: %03x , ID: %05u | %s"
, isLong ? "long (128b)" : "short (64b)"
, subType , subType
, customerCode , customerCode
, id , id
, isLong ? "(128b)" : "(64b)"
); );
NedapGen(subType, customerCode, id, isLong, data); NedapGen(subType, customerCode, id, isLong, data);
@ -467,7 +467,7 @@ int CmdLFNedapClone(const char *Cmd) {
} }
PrintAndLogEx(SUCCESS, "Preparing to clone NEDAP to T55x7"); PrintAndLogEx(SUCCESS, "Preparing to clone NEDAP to T55x7");
print_blocks(blocks, 5); print_blocks(blocks, max);
PacketResponseNG resp; PacketResponseNG resp;
@ -491,9 +491,9 @@ int CmdLFNedapClone(const char *Cmd) {
return PM3_ETIMEOUT; return PM3_ETIMEOUT;
} }
} }
// TODO info correct? PrintAndLogEx(NORMAL, "\n");
PrintAndLogEx(INFO, "The block 0 was changed (eXtended) which can be hard to detect. Configure it manually with"); PrintAndLogEx(INFO, "The block 0 was changed (eXtended) which can be hard to detect.");
PrintAndLogEx(INFO, _YELLOW_("`lf t55xx config b 64 d BI i 1 o 32`")); PrintAndLogEx(INFO, " Configure it manually " _YELLOW_("`lf t55xx config b 64 d BI i 1 o 32`"));
return PM3_SUCCESS; return PM3_SUCCESS;
} }