diff --git a/CHANGELOG.md b/CHANGELOG.md index 831ee0ea8..2b5e04bc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] + - Fixed `trace list -t mf` - now also finds UID if anticollision is partial captured, to be used for mfkey (@iceman1001) ## [Radium.4.15864][2022-10-29] - Changed `lf indala sim` - now accepts fc / cn (@iceman1001) diff --git a/client/src/cmdhflist.c b/client/src/cmdhflist.c index 80a7e5730..fdfa34671 100644 --- a/client/src/cmdhflist.c +++ b/client/src/cmdhflist.c @@ -1570,6 +1570,10 @@ void annotateMifare(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize, // get UID if (MifareAuthState == masNone) { + if (isResponse && cmdsize == 5 ) { + ClearAuthData(); + AuthData.uid = bytes_to_num(&cmd[0], 4); + } if (cmdsize == 9 && cmd[0] == ISO14443A_CMD_ANTICOLL_OR_SELECT && cmd[1] == 0x70) { ClearAuthData(); AuthData.uid = bytes_to_num(&cmd[2], 4);