From d328601dc9f5861f125a9fbb19b0f26045a4b173 Mon Sep 17 00:00:00 2001 From: Antiklesys Date: Wed, 18 Mar 2026 10:08:14 +0800 Subject: [PATCH] Added --raw support for hf iclass blacktears --- client/src/cmdhficlass.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/cmdhficlass.c b/client/src/cmdhficlass.c index ea64c84ce..8aad17fe4 100644 --- a/client/src/cmdhficlass.c +++ b/client/src/cmdhficlass.c @@ -3602,6 +3602,7 @@ static int CmdHFiClass_BlackTears(const char *Cmd) { arg_int0("i", NULL, "", "tearoff delay increment (in us) - default 10"), arg_int0("e", NULL, "", "tearoff delay end (in us) must be a higher value than the start delay"), arg_str0("o", "otp", "", "Custom OTP value as 2 hex bytes"), + arg_lit0(NULL, "raw", "no computations applied to key"), arg_lit0("v", "verbose", "verbose output"), arg_lit0(NULL, "shallow", "use shallow (ASK) reader modulation instead of OOK"), arg_param_end @@ -3628,10 +3629,10 @@ static int CmdHFiClass_BlackTears(const char *Cmd) { uint8_t otp[2] = {0}; CLIGetHexWithReturn(ctx, 7, otp, &otp_len); - bool verbose = arg_get_lit(ctx, 8); - bool shallow_mod = arg_get_lit(ctx, 9); + bool verbose = arg_get_lit(ctx, 9); + bool shallow_mod = arg_get_lit(ctx, 10); bool elite = false; - bool rawkey = false; + bool rawkey = arg_get_lit(ctx, 8); bool use_replay = false; //not implemented in this mode bool read_auth = false; bool use_credit_key = arg_get_lit(ctx, 3);