Update cmdhficlass.c

Signed-off-by: Antiklesys <syselkitna@gmail.com>
This commit is contained in:
Antiklesys 2025-06-20 17:22:14 +08:00 committed by GitHub
parent c729c88f1d
commit 43943ce9a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6054,8 +6054,8 @@ static int CmdHFiClassSAM(const char *Cmd) {
}else if (match_with_wildcard(d, snmp_pattern, snmp_mask, 6)){
is_snmp = true;
PrintAndLogEx(SUCCESS, _YELLOW_("[samSNMPMessageResponse] ")"%s", sprint_hex(d + 6, resp.length - 6));
PrintAndLogEx(SUCCESS, _YELLOW_("[samResponseAcknowledge] ")"%s", sprint_hex(d + 4, resp.length - 4));
}else if (match_with_wildcard(d,ok_pattern, ok_mask, 3)){
PrintAndLogEx(SUCCESS, _YELLOW_("[samResponseAcknowledge] ")"%s", sprint_hex(d + 4, resp.length - 4));
}else{
print_hex(d, resp.length);
}