mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-15 19:59:34 +08:00
textual
This commit is contained in:
parent
0fda0329eb
commit
9a8331b882
1 changed files with 2 additions and 2 deletions
|
@ -568,7 +568,7 @@ int loadTraceCard(uint8_t *tuid, uint8_t uidlen) {
|
||||||
|
|
||||||
memset(buf, 0, sizeof(buf));
|
memset(buf, 0, sizeof(buf));
|
||||||
if (fgets(buf, sizeof(buf), f) == NULL) {
|
if (fgets(buf, sizeof(buf), f) == NULL) {
|
||||||
PrintAndLog("No trace file found or reading error.");
|
PrintAndLog("[-] No trace file found or reading error.");
|
||||||
if (f) {
|
if (f) {
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
@ -577,7 +577,7 @@ int loadTraceCard(uint8_t *tuid, uint8_t uidlen) {
|
||||||
|
|
||||||
if (strlen(buf) < 32){
|
if (strlen(buf) < 32){
|
||||||
if (feof(f)) break;
|
if (feof(f)) break;
|
||||||
PrintAndLog("File content error. Block data must include 32 HEX symbols");
|
PrintAndLog("[-] File content error. Block data must include 32 HEX symbols");
|
||||||
if (f) {
|
if (f) {
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue