mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
tweak messages
This commit is contained in:
parent
6003d4ffa0
commit
9b7bd49665
1 changed files with 3 additions and 3 deletions
|
@ -1067,7 +1067,7 @@ static int read_nonce_file(char *filename)
|
||||||
|
|
||||||
num_acquired_nonces = 0;
|
num_acquired_nonces = 0;
|
||||||
if ((fnonces = fopen(filename,"rb")) == NULL) {
|
if ((fnonces = fopen(filename,"rb")) == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not open file %s",filename);
|
PrintAndLogEx(WARNING, "Could not open file %s",filename);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
snprintf(progress_text, 80, "Reading nonces from file %s...",filename);
|
snprintf(progress_text, 80, "Reading nonces from file %s...",filename);
|
||||||
|
@ -1435,7 +1435,7 @@ static int acquire_nonces(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_
|
||||||
cuid = resp.arg[1];
|
cuid = resp.arg[1];
|
||||||
if (nonce_file_write && fnonces == NULL) {
|
if (nonce_file_write && fnonces == NULL) {
|
||||||
if ((fnonces = fopen(filename,"wb")) == NULL) {
|
if ((fnonces = fopen(filename,"wb")) == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not create file %s", filename);
|
PrintAndLogEx(WARNING, "Could not create file %s", filename);
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
snprintf(progress_text, 80, "Writing acquired nonces to binary file %s", filename);
|
snprintf(progress_text, 80, "Writing acquired nonces to binary file %s", filename);
|
||||||
|
@ -2219,7 +2219,7 @@ int mfnestedhard(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBloc
|
||||||
write_stats = true;
|
write_stats = true;
|
||||||
setlocale(LC_NUMERIC, "");
|
setlocale(LC_NUMERIC, "");
|
||||||
if ((fstats = fopen("hardnested_stats.txt","a")) == NULL) {
|
if ((fstats = fopen("hardnested_stats.txt","a")) == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not create/open file hardnested_stats.txt");
|
PrintAndLogEx(WARNING, "Could not create/open file hardnested_stats.txt");
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
for (uint32_t i = 0; i < tests; i++) {
|
for (uint32_t i = 0; i < tests; i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue