mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 18:24:27 +08:00
Update cmdhficlass.c
fix: 'hf iclass dump' now uses rawkey option even for credit key.
This commit is contained in:
parent
489e735f86
commit
8c9facb7b5
1 changed files with 2 additions and 2 deletions
|
@ -834,9 +834,9 @@ int CmdHFiClassReader_Dump(const char *Cmd) {
|
|||
ul_switch_off_field();
|
||||
memset(MAC,0,4);
|
||||
// AA2 authenticate credit key and git c_div_key - later store in dump block 4
|
||||
if (!select_and_auth(CreditKEY, MAC, c_div_key, true, false, false, false)){
|
||||
if (!select_and_auth(CreditKEY, MAC, c_div_key, true, elite, rawkey, false)){
|
||||
//try twice - for some reason it sometimes fails the first time...
|
||||
if (!select_and_auth(CreditKEY, MAC, c_div_key, true, false, false, false)){
|
||||
if (!select_and_auth(CreditKEY, MAC, c_div_key, true, elite, rawkey, false)){
|
||||
ul_switch_off_field();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue