mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-17 18:50:32 +08:00
fixed to get UID from even partial trace lists if 9320 exists
This commit is contained in:
parent
fe11c1876f
commit
97263ab3b1
2 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue