mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-02 02:19:57 +08:00
tweak messages
This commit is contained in:
parent
858224244d
commit
6003d4ffa0
1 changed files with 7 additions and 7 deletions
|
@ -406,7 +406,7 @@ char * GenerateFilename(const char *prefix, const char *suffix){
|
||||||
|
|
||||||
GetHFMF14AUID(uid, &uidlen);
|
GetHFMF14AUID(uid, &uidlen);
|
||||||
if (!uidlen) {
|
if (!uidlen) {
|
||||||
PrintAndLogEx(NORMAL, "No tag found.");
|
PrintAndLogEx(WARNING, "No tag found.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -690,7 +690,7 @@ int CmdHF14AMfDump(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fin = fopen(keyFilename,"rb")) == NULL) {
|
if ((fin = fopen(keyFilename,"rb")) == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not find file %s", keyFilename);
|
PrintAndLogEx(WARNING, "Could not find file %s", keyFilename);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -907,7 +907,7 @@ int CmdHF14AMfRestore(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fkeys = fopen(keyFilename,"rb")) == NULL) {
|
if ((fkeys = fopen(keyFilename,"rb")) == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not find file %s", keyFilename);
|
PrintAndLogEx(WARNING, "Could not find file %s", keyFilename);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -941,7 +941,7 @@ int CmdHF14AMfRestore(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fdump = fopen(dataFilename,"rb")) == NULL) {
|
if ((fdump = fopen(dataFilename,"rb")) == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not find file %s", dataFilename);
|
PrintAndLogEx(WARNING, "Could not find file %s", dataFilename);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
PrintAndLogEx(NORMAL, "Restoring %s to card", dataFilename);
|
PrintAndLogEx(NORMAL, "Restoring %s to card", dataFilename);
|
||||||
|
@ -1595,7 +1595,7 @@ out:
|
||||||
|
|
||||||
FILE *fkeys = fopen(fptr,"wb");
|
FILE *fkeys = fopen(fptr,"wb");
|
||||||
if (fkeys == NULL) {
|
if (fkeys == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not create file %s", filename);
|
PrintAndLogEx(WARNING, "Could not create file %s", filename);
|
||||||
free(keyBlock);
|
free(keyBlock);
|
||||||
free(e_sector);
|
free(e_sector);
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -1880,7 +1880,7 @@ out:
|
||||||
|
|
||||||
FILE *fkeys = fopen(fptr,"wb");
|
FILE *fkeys = fopen(fptr,"wb");
|
||||||
if (fkeys == NULL) {
|
if (fkeys == NULL) {
|
||||||
PrintAndLogEx(NORMAL, "Could not create file %s", fptr);
|
PrintAndLogEx(WARNING, "Could not create file %s", fptr);
|
||||||
free(keyBlock);
|
free(keyBlock);
|
||||||
free(e_sector);
|
free(e_sector);
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -3095,7 +3095,7 @@ int CmdHF14AMfice(const char *Cmd) {
|
||||||
PrintAndLogEx(NORMAL, "Collecting %u nonces \n", limit);
|
PrintAndLogEx(NORMAL, "Collecting %u nonces \n", limit);
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue