mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
ADD: 'hf 14a read' - detection if found Mifare Classic tag has a weak or hardend PRNG. Thanks to @doegox for implementing it in nfc-tools/mfoc Its a beauty :)
This commit is contained in:
parent
89b24a69c0
commit
4d18909596
5 changed files with 91 additions and 36 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "nonce2key/crapto1.h"
|
||||
#include "iso14443crc.h"
|
||||
#include "protocols.h"
|
||||
#include "mifare.h"
|
||||
|
||||
#define NESTED_SECTOR_RETRY 10
|
||||
|
||||
|
@ -84,4 +85,6 @@ int isBlockTrailer(int blockN);
|
|||
int loadTraceCard(uint8_t *tuid, uint8_t uidlen);
|
||||
int saveTraceCard(void);
|
||||
int tryDecryptWord(uint32_t nt, uint32_t ar_enc, uint32_t at_enc, uint8_t *data, int len);
|
||||
|
||||
extern bool detect_classic_prng();
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue