mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge remote-tracking branch 'upstream/master' into hf_mf_sim
This commit is contained in:
commit
1e20316cee
8 changed files with 22 additions and 21 deletions
|
@ -1352,7 +1352,7 @@ int CmdHF14AMfNestedHard(const char *Cmd) {
|
|||
case 'r':
|
||||
fptr = GenerateFilename("hf-mf-", "-nonces.bin");
|
||||
if (fptr == NULL)
|
||||
strncpy(filename, "nonces.bin", FILE_PATH_SIZE);
|
||||
strncpy(filename, "nonces.bin", FILE_PATH_SIZE - 1);
|
||||
else
|
||||
strncpy(filename, fptr, FILE_PATH_SIZE - 1);
|
||||
|
||||
|
@ -1540,7 +1540,7 @@ int CmdHF14AMfChk_fast(const char *Cmd) {
|
|||
char buf[13];
|
||||
char *fptr;
|
||||
uint8_t tempkey[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
|
||||
uint8_t *keyBlock = NULL, *p;
|
||||
uint8_t *keyBlock, *p;
|
||||
uint8_t sectorsCnt = 1;
|
||||
int i, keycnt = 0;
|
||||
int clen = 0;
|
||||
|
@ -1788,7 +1788,7 @@ int CmdHF14AMfChk(const char *Cmd) {
|
|||
FILE *f;
|
||||
char filename[FILE_PATH_SIZE] = {0};
|
||||
char buf[13];
|
||||
uint8_t *keyBlock = NULL, *p;
|
||||
uint8_t *keyBlock, *p;
|
||||
sector_t *e_sector = NULL;
|
||||
|
||||
uint8_t blockNo = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue