mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
cHG.. missing
This commit is contained in:
parent
787d87e0e6
commit
29c15b3480
2 changed files with 17 additions and 2 deletions
|
@ -608,8 +608,8 @@ int saveTraceCard(void) {
|
|||
|
||||
// given 4096 tracecard size, these loop will only match a 1024, 1kb card memory
|
||||
// 4086/16 == 256blocks.
|
||||
for (int i = 0; i < 256; i++) { // blocks
|
||||
for (int j = 0; j < 16; j++) // bytes
|
||||
for (uint16_t i = 0; i < 256; i++) { // blocks
|
||||
for (uint8_t j = 0; j < 16; j++) // bytes
|
||||
fprintf(f, "%02X", *(traceCard + i * 16 + j));
|
||||
|
||||
// no extra line in the end
|
||||
|
|
|
@ -89,4 +89,19 @@ typedef struct {
|
|||
} state;
|
||||
} nonces_t;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// FeliCa
|
||||
//-----------------------------------------------------------------------------
|
||||
typedef struct {
|
||||
uint8_t uid[8];
|
||||
} __attribute__((__packed__)) felica_card_select_t;
|
||||
|
||||
typedef enum FELICA_COMMAND {
|
||||
FELICA_CONNECT = (1 << 0),
|
||||
FELICA_NO_DISCONNECT = (1 << 1),
|
||||
FELICA_RAW = (1 << 3),
|
||||
FELICA_APPEND_CRC = (1 << 5),
|
||||
FELICA_NO_SELECT = (1 << 6),
|
||||
} felica_command_t;
|
||||
|
||||
#endif // _MIFARE_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue