mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-22 07:04:13 +08:00
Better warn user of hardcoded hitag info
This commit is contained in:
parent
0320455090
commit
a0193fa903
1 changed files with 1 additions and 7 deletions
|
@ -478,15 +478,9 @@ static bool getHitagUid(uint32_t *uid) {
|
|||
}
|
||||
|
||||
static int CmdLFHitagInfo(const char *Cmd) {
|
||||
PrintAndLogEx(INFO, "Hitag2 tag information ");
|
||||
PrintAndLogEx(INFO, "To be done!");
|
||||
PrintAndLogEx(INFO, "------------------------------------");
|
||||
|
||||
char ctmp = tolower(param_getchar(Cmd, 0));
|
||||
if (ctmp == 'h') return usage_hitag_info();
|
||||
|
||||
// pwd or key
|
||||
|
||||
// read UID
|
||||
uint32_t uid = 0;
|
||||
if (getHitagUid(&uid) == false)
|
||||
|
@ -495,8 +489,8 @@ static int CmdLFHitagInfo(const char *Cmd) {
|
|||
PrintAndLogEx(SUCCESS, "UID: %08X", uid);
|
||||
|
||||
// how to detemine Hitag types?
|
||||
|
||||
// read block3, get configuration byte.
|
||||
PrintAndLogEx(FAILED, _RED_("TODO: This is a hardcoded example!"));
|
||||
|
||||
// common configurations.
|
||||
printHitagConfiguration(0x06);
|
||||
|
|
Loading…
Reference in a new issue