changed magic detection to use flags. Fixes previous problems with magic ntag, also renamed defines to seperate them better.

This commit is contained in:
iceman1001 committed 2024-02-02 15:53:57 +01:00
1 parent 14c3eb6dc8
commit 81ce1fd4ab
9 files changed
+198 -140

No files matched your search

-1
View File
@@ -381,7 +381,6 @@ static int CmdHFMFPInfo(const char *Cmd) {
// https://github.com/Proxmark/proxmark3/blob/master/client/luascripts/mifarePlus.lua#L161
uint8_t cmd[3 + 16] = {0xa8, 0x90, 0x90, 0x00};
int res = ExchangeRAW14a(cmd, sizeof(cmd), true, false, data, sizeof(data), &datalen, false);
if (res != PM3_SUCCESS) {
PrintAndLogEx(INFO, "identification failed");
PrintAndLogEx(NORMAL, "");