mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
simplify save files
This commit is contained in:
parent
2c61530cba
commit
b4255eea77
11 changed files with 48 additions and 88 deletions
|
@ -503,7 +503,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
|||
uint8_t mM = 0; //moebius_modifier for collection storage
|
||||
|
||||
// Authenticate response - nonce
|
||||
uint8_t rAUTH_NT[4] = {0,0,0,1};
|
||||
uint8_t rAUTH_NT[4] = {0, 0, 0, 1};
|
||||
uint8_t rAUTH_NT_keystream[4];
|
||||
uint32_t nonce = 0;
|
||||
|
||||
|
@ -791,12 +791,12 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
|||
|
||||
if (g_dbglevel >= DBG_EXTENDED) {
|
||||
Dbprintf("[MFEMUL_WORK] Reader authenticating for block %d (0x%02x) with key %c - nonce: %08X - cuid: %08X",
|
||||
receivedCmd_dec[1],
|
||||
receivedCmd_dec[1],
|
||||
(cardAUTHKEY == 0) ? 'A' : 'B',
|
||||
nonce,
|
||||
cuid
|
||||
);
|
||||
receivedCmd_dec[1],
|
||||
receivedCmd_dec[1],
|
||||
(cardAUTHKEY == 0) ? 'A' : 'B',
|
||||
nonce,
|
||||
cuid
|
||||
);
|
||||
}
|
||||
} else {
|
||||
// nested authentication
|
||||
|
@ -812,10 +812,10 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
|||
|
||||
if (g_dbglevel >= DBG_EXTENDED) {
|
||||
Dbprintf("[MFEMUL_WORK] Reader doing nested authentication for block %d (0x%02x) with key %c",
|
||||
receivedCmd_dec[1],
|
||||
receivedCmd_dec[1],
|
||||
(cardAUTHKEY == 0) ? 'A' : 'B'
|
||||
);
|
||||
receivedCmd_dec[1],
|
||||
receivedCmd_dec[1],
|
||||
(cardAUTHKEY == 0) ? 'A' : 'B'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue