mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
add static encrypted nonce detection
This commit is contained in:
parent
d352f9d44e
commit
91892bc1bf
9 changed files with 125 additions and 10 deletions
|
@ -1866,6 +1866,17 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
MifareHasStaticNonce();
|
||||
break;
|
||||
}
|
||||
case CMD_HF_MIFARE_STATIC_ENCRYPTED_NONCE: {
|
||||
struct p {
|
||||
uint8_t block_no;
|
||||
uint8_t key_type;
|
||||
uint8_t key[6];
|
||||
} PACKED;
|
||||
struct p *payload = (struct p *) packet->data.asBytes;
|
||||
|
||||
MifareHasStaticEncryptedNonce(payload->block_no, payload->key_type, payload->key);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WITH_NFCBARCODE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue