mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
hf mf sim: accept RATS no matter the value of PCD FSDI & CID
This commit is contained in:
parent
e50459b2c5
commit
358130505a
1 changed files with 1 additions and 1 deletions
|
@ -1076,7 +1076,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
|||
}
|
||||
|
||||
// case MFEMUL_WORK => CMD RATS
|
||||
if (receivedCmd_len == 4 && receivedCmd_dec[0] == ISO14443A_CMD_RATS && receivedCmd_dec[1] == 0x80) {
|
||||
if (receivedCmd_len == 4 && receivedCmd_dec[0] == ISO14443A_CMD_RATS) {
|
||||
if (rats && rats_len) {
|
||||
if (encrypted_data) {
|
||||
memcpy(response, rats, rats_len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue