make style
This commit is contained in:
@@ -371,16 +371,16 @@ static int CmdHFMFPInfo(const char *Cmd) {
|
||||
int res = ExchangeRAW14a(cmd, sizeof(cmd), true, false, data, sizeof(data), &datalen, false);
|
||||
|
||||
// DESFire answers 0x1C or 67 00
|
||||
// Plus answers 0x0B, 0x09, 0x06
|
||||
// Which tag answers 6D 00 ??
|
||||
if ( data[0] != 0x0b && data[0] != 0x09 && data[0] != 0x1C && data[0] != 0x67) {
|
||||
// Plus answers 0x0B, 0x09, 0x06
|
||||
// Which tag answers 6D 00 ??
|
||||
if (data[0] != 0x0b && data[0] != 0x09 && data[0] != 0x1C && data[0] != 0x67) {
|
||||
PrintAndLogEx(INFO, _RED_("Send copy to iceman of this command output!"));
|
||||
PrintAndLogEx(INFO, "data: %s", sprint_hex(data, datalen));
|
||||
}
|
||||
|
||||
|
||||
if ((memcmp(data, "\x67\x00", 2) == 0) ||
|
||||
(memcmp(data, "\x1C\x83\x0C", 3) == 0)
|
||||
) {
|
||||
(memcmp(data, "\x1C\x83\x0C", 3) == 0)
|
||||
) {
|
||||
PrintAndLogEx(INFO, " result: " _RED_("MIFARE DESFire"));
|
||||
PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfdes info`"));
|
||||
DropField();
|
||||
|
||||
Reference in New Issue
Block a user