Sylv Ain
Sylv Ain

Reputation: 151

EMV card & APDU command to get the track 2

I trying to get the PAN from my card. I read a lot of topic about that, but I still understand :'(

I understand I have to find the AID I tried :

00A404000E315041592E5359532E4444463031

Thats works, but I don't really get some interesting informations ... If I correctly understand I have to find the 94 Application File Locator (AFL) (16 Byte) to be able to read the data...

Do i have to try another AID until I find the AFL ?

Thanks

Upvotes: 0

Views: 1624

Answers (1)

Adarsh Nanu
Adarsh Nanu

Reputation: 2211

Track2(tag 57) is usually returned in in response to READ RECORDs. To issue READ RECORDs you need to get the AFL first. AFL is returned in response to GET PO. In VISA contactless you will get track in GET PO itself and you will get AFL only if ODA is required.

Upvotes: 1

Related Questions