Skip to content

Commit

Permalink
Fixed issue #27
Browse files Browse the repository at this point in the history
  • Loading branch information
Aram committed Feb 18, 2018
1 parent 454ee6e commit 5818f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnfc_crypto1_crack.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ int main (int argc, const char * argv[]) {
}

char filename[21];
sprintf(filename, "0x%04x_%03u%s.txt", uid, target_block, target_key == MC_AUTH_A ? "A" : "B");
sprintf(filename, "0x%08x_%03u%s.txt", uid, target_block, target_key == MC_AUTH_A ? "A" : "B");
fp = fopen(filename, "wb");

printf("Found tag with uid %04x, collecting nonces for key %s of block %u (sector %u) using known key %s %012"PRIx64" for block %u (sector %u)\n",
Expand Down

0 comments on commit 5818f36

Please sign in to comment.