Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
chg: 'hf iclass chk' textual info
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Jul 1, 2018
1 parent 942e647 commit dfa4f62
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/cmdhficlass.c
Original file line number Diff line number Diff line change
Expand Up @@ -2026,6 +2026,13 @@ int CmdHFiClassCheckKeys(const char *Cmd) {
}

PrintAndLogEx(SUCCESS, "Generating diversified keys, MAC");
if (use_elite)
PrintAndLogEx(SUCCESS, "Using elite algo");
if (use_raw)
PrintAndLogEx(SUCCESS, "Using raw mode");
PrintAndLogEx(SUCCESS, "Searching for %s key", (use_credit_key) ? "CREDIT" : "DEBIT");

PrintAndLogEx(SUCCESS,"Tag info");
PrintAndLogEx(SUCCESS, "CSN | %s", sprint_hex( CSN, sizeof(CSN) ));
PrintAndLogEx(SUCCESS, "CCNR | %s", sprint_hex( CCNR, sizeof(CCNR) ));
res = GenerateMacFromKeyFile( CSN, CCNR, use_raw, use_elite, keyBlock, keycnt, pre );
Expand Down

0 comments on commit dfa4f62

Please sign in to comment.