Skip to content

Commit

Permalink
Merge pull request #655 from bkerler/mfdes_auth
Browse files Browse the repository at this point in the history
Fix issue #646
  • Loading branch information
iceman1001 authored Apr 7, 2020
2 parents 4206399 + 61f3ef6 commit ed88847
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/cmdhfmfdes.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ static int get_desfire_keyversion(uint8_t curr_key, uint8_t *num_versions) {
static int get_desfire_select_application(uint8_t *aid) {
if (aid == NULL) return PM3_ESOFT;

DropField();
uint8_t c[] = {SELECT_APPLICATION, 0x00, 0x00, 0x03, aid[0], aid[1], aid[2], 0x00}; // 0x5a
PacketResponseNG resp;
int ret = SendDesfireCmd(c, sizeof(c), INIT, sizeof(c), 0, &resp, 3000);
Expand Down

0 comments on commit ed88847

Please sign in to comment.