]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhficlass.c
CHG: adding the HID wiegand calcs again. Still need to set the bit37 indicator...
[proxmark3-svn] / client / cmdhficlass.c
index b5fa46f06ba599090a31f58936b48425d841b353..89c0f7584bb45adbb2299ace8f4a84c5c941cb28 100644 (file)
@@ -769,7 +769,7 @@ int CmdHFiClassReader_Dump(const char *Cmd) {
        if (have_debit_key) memcpy(tag_data+(3*8),div_key,8);
        if (have_credit_key) memcpy(tag_data+(4*8),c_div_key,8);
        
-       printf("Num of bytes:  %d\n", gotBytes);
+       printf("Num of bytes:  %u\n", gotBytes);
        
        // print the dump
        printf("------+--+-------------------------+\n");
@@ -1669,7 +1669,7 @@ int CmdHFiClassManageKeys(const char *Cmd) {
 }
 
 static command_t CommandTable[] = {
-       {"help",        CmdHelp,                        1,      "This help"},
+       {"help",                CmdHelp,                                                1,      "This help"},
        {"calcnewkey",  CmdHFiClassCalcNewKey,          1,      "[options..] Calc Diversified keys (blocks 3 & 4) to write new keys"},
        {"clone",       CmdHFiClassCloneTag,            0,      "[options..] Authenticate and Clone from iClass bin file"},
        {"decrypt",     CmdHFiClassDecrypt,             1,      "[f <fname>] Decrypt tagdump" },
@@ -1680,7 +1680,7 @@ static command_t CommandTable[] = {
        {"loclass",     CmdHFiClass_loclass,            1,      "[options..] Use loclass to perform bruteforce of reader attack dump"},
        {"managekeys",  CmdHFiClassManageKeys,          1,      "[options..] Manage the keys to use with iClass"},
        {"readblk",     CmdHFiClass_ReadBlock,          0,      "[options..] Authenticate and Read iClass block"},
-       {"reader",CmdHFiClassReader,    0,      "Read an iClass tag"},
+       {"reader",              CmdHFiClassReader,                              0,      "Read an iClass tag"},
        {"readtagfile", CmdHFiClassReadTagFile,         1,      "[options..] Display Content from tagfile"},
        {"replay",      CmdHFiClassReader_Replay,       0,      "<mac>       Read an iClass tag via Reply Attack"},
        {"sim",         CmdHFiClassSim,                 0,      "[options..] Simulate iClass tag"},
Impressum, Datenschutz