bool strg_mod_en = (data[0] & 2);
uint8_t authlim = (data[4] & 0x07);
+ bool nfc_cnf_en = (data[4] & 0x08);
+ bool nfc_cnf_prot_pwd = (data[4] & 0x10);
bool cfglck = (data[4] & 0x40);
bool prot = (data[4] & 0x80);
uint8_t vctid = data[5];
PrintAndLog(" - Unlimited password attempts");
else
PrintAndLog(" - Max number of password attempts is %d", authlim);
+
+ PrintAndLog(" - NFC counter %s", (nfc_cnf_en) ? "enabled":"disabled");
+ PrintAndLog(" - NFC counter %s", (nfc_cnf_prot_pwd) ? "not protected":"password protection enabled");
+
PrintAndLog(" - user configuration %s", cfglck ? "permanently locked":"writeable");
PrintAndLog(" - %s access is protected with password", prot ? "read and write":"write");
PrintAndLog(" - %02X, Virtual Card Type Identifier is %s default", vctid, (vctid==0x05)? "":"not");
char ctmp = param_getchar(Cmd, 0);
- if ( ctmp == 'h' || ctmp == 0x00) {
- return usage_hf_mfu_eload();
- }
+ if ( ctmp == 'h' || ctmp == 0x00) return usage_hf_mfu_eload();
+
/*
switch (ctmp) {
case '0' : numBlocks = 5*4; break;