mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
fix hf iclass dump
This commit is contained in:
parent
5ede492544
commit
ad9f022308
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
||||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||||
|
|
||||||
## [unreleased][unreleased]
|
## [unreleased][unreleased]
|
||||||
|
- Fixed `hf iclass dump` - now uses the right key when suppling credit key (@iceman1001)
|
||||||
- Changed crc16_legic to be supported in lua (@iceman1001)
|
- Changed crc16_legic to be supported in lua (@iceman1001)
|
||||||
- Changed `trace list -t 14a` - now annotate magsafe wupa (@iceman1001)
|
- Changed `trace list -t 14a` - now annotate magsafe wupa (@iceman1001)
|
||||||
- Added magsafe polling (thanks to @tcprst !) (@iceman1001)
|
- Added magsafe polling (thanks to @tcprst !) (@iceman1001)
|
||||||
|
|
|
@ -1592,7 +1592,7 @@ static int CmdHFiClassDump(const char *Cmd) {
|
||||||
if (credit_key_nr < ICLASS_KEYS_MAX) {
|
if (credit_key_nr < ICLASS_KEYS_MAX) {
|
||||||
auth = true;
|
auth = true;
|
||||||
have_credit_key = true;
|
have_credit_key = true;
|
||||||
memcpy(key, iClass_Key_Table[credit_key_nr], 8);
|
memcpy(credit_key, iClass_Key_Table[credit_key_nr], 8);
|
||||||
PrintAndLogEx(SUCCESS, "Using AA2 (credit) key[%d] " _GREEN_("%s"), credit_key_nr, sprint_hex(iClass_Key_Table[credit_key_nr], 8));
|
PrintAndLogEx(SUCCESS, "Using AA2 (credit) key[%d] " _GREEN_("%s"), credit_key_nr, sprint_hex(iClass_Key_Table[credit_key_nr], 8));
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(ERR, "Key number is invalid");
|
PrintAndLogEx(ERR, "Key number is invalid");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue