Skip to content

Commit

Permalink
show EV1 auth PACK (tag/reader trust secret)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Laurie committed Mar 23, 2017
1 parent 3f8bb59 commit fe04b85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utils/nfc-mfultralight.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,11 +600,14 @@ main(int argc, const char *argv[])

// EV1 login required
if(bPWD){
printf("Authing with PWD: %02x%02x%02x%02x\n", iPWD[0], iPWD[1], iPWD[2], iPWD[3]);
printf("Authing with PWD: %02x%02x%02x%02x ", iPWD[0], iPWD[1], iPWD[2], iPWD[3]);
if(!ev1_pwd_auth(iPWD)){
printf("\n");
ERR("AUTH failed!\n");
exit(EXIT_FAILURE);
}
else
printf("Success - PACK: %02x%02x\n", abtRx[0], abtRx[1]);
}

if (iAction == 1) {
Expand Down

0 comments on commit fe04b85

Please sign in to comment.