Publication date: 2012-12-21
Description: Program based on readnfccc (by Renaud Lifchitz) to read some private data from credit cards, like cardholder, Permanent Account Number (PAN), expiry date, etc., using NFC technology. It has been tested with Spanish contactless credit cards, but can also be used with other countries cards. Take a look at this post (Spanish) and this video.
After installing libnfc, just compile the code:
$ gcc nfc_creditcard_reader.c -lnfc -o nfc_creditcard_reader
Place an NFC credit card close to the reader and execute it:
[+] Connected to NFC reader
[-] Looking for known card types...
[+] 14443B card found!!
[-] Looking for known AIDs (VISA, VISA Electron, Mastercard, CB)...
[+] VISA found!!
Cardholder name: ESPARZA MU&OZ/JOSE
PAN: 42** **** **** 6019
Expiration date: 05/2017
Issuer Public Key Certificate:
ICC Public Key Certificate: