mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07: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...
|
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]
|
## [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]
|
## [Radium.4.15864][2022-10-29]
|
||||||
- Changed `lf indala sim` - now accepts fc / cn (@iceman1001)
|
- 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
|
// get UID
|
||||||
if (MifareAuthState == masNone) {
|
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) {
|
if (cmdsize == 9 && cmd[0] == ISO14443A_CMD_ANTICOLL_OR_SELECT && cmd[1] == 0x70) {
|
||||||
ClearAuthData();
|
ClearAuthData();
|
||||||
AuthData.uid = bytes_to_num(&cmd[2], 4);
|
AuthData.uid = bytes_to_num(&cmd[2], 4);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue