mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
ADD: @micolous random nonce, adjusted to fit in. Icemanfork only uses Moebius attack, so no need for an extra parameter in client.
ref: https://github.com/Proxmark/proxmark3/pull/209
This commit is contained in:
parent
6c3795a315
commit
bf5d7992ce
8 changed files with 90 additions and 28 deletions
|
@ -66,14 +66,14 @@ typedef enum ISO14B_COMMAND {
|
|||
//-----------------------------------------------------------------------------
|
||||
typedef struct {
|
||||
uint32_t cuid;
|
||||
uint8_t sector;
|
||||
uint8_t keytype;
|
||||
uint32_t nonce;
|
||||
uint32_t ar;
|
||||
uint32_t nr;
|
||||
uint32_t nonce2;
|
||||
uint32_t ar2;
|
||||
uint32_t nr2;
|
||||
uint8_t sector;
|
||||
uint8_t keytype;
|
||||
} nonces_t;
|
||||
|
||||
#endif // _MIFARE_H_
|
||||
|
|
|
@ -239,6 +239,7 @@ typedef struct{
|
|||
#define FLAG_10B_UID_IN_DATA 0x08
|
||||
#define FLAG_UID_IN_EMUL 0x10
|
||||
#define FLAG_NR_AR_ATTACK 0x20
|
||||
//#define FLAG_RANDOM_NONCE 0x40
|
||||
|
||||
//Iclass reader flags
|
||||
#define FLAG_ICLASS_READER_ONLY_ONCE 0x01
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue