mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
mf sim: add option to pass explicitly atqa/sak and reject explicitly unknown vals for option t
This commit is contained in:
parent
4615354864
commit
12a0540d91
5 changed files with 54 additions and 9 deletions
|
@ -1192,9 +1192,11 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
uint16_t flags;
|
||||
uint8_t exitAfter;
|
||||
uint8_t uid[10];
|
||||
uint16_t atqa;
|
||||
uint8_t sak;
|
||||
} PACKED;
|
||||
struct p *payload = (struct p *) packet->data.asBytes;
|
||||
Mifare1ksim(payload->flags, payload->exitAfter, payload->uid);
|
||||
Mifare1ksim(payload->flags, payload->exitAfter, payload->uid, payload->atqa, payload->sak);
|
||||
break;
|
||||
}
|
||||
// emulator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue