mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 21:44:50 +00:00
Update cmdhficlass.c
Updated logic to support debit key
This commit is contained in:
1 parent
2ea01f765e
commit
f10d52a8a9
1 file changed
+6
-2
@@ -3683,8 +3683,12 @@ static int CmdHFiClass_BlackTears(const char *Cmd) {
|
||||
int isok = PM3_SUCCESS;
|
||||
bool read_ok = false;
|
||||
uint8_t keyType = ICLASS_DEBIT_KEYTYPE;
|
||||
PrintAndLogEx(SUCCESS, "Using " _YELLOW_("credit") " key");
|
||||
keyType = ICLASS_CREDIT_KEYTYPE;
|
||||
if(use_credit_key == true){
|
||||
PrintAndLogEx(SUCCESS, "Using " _YELLOW_("credit") " key");
|
||||
keyType = ICLASS_CREDIT_KEYTYPE;
|
||||
}else{
|
||||
PrintAndLogEx(SUCCESS, "Using " _YELLOW_("debit") " key");
|
||||
}
|
||||
|
||||
if (tearoff_loop > 1) {
|
||||
PrintAndLogEx(SUCCESS, _YELLOW_("%u") " attempts / tearoff", tearoff_loop);
|
||||
|
||||
Reference in new issue
Block a user