Kick-ass contactless credit card reader
With nfc-frog
you can extract data from many contactless EMV credit cards. Also it supports mulitiple reading modes, so you can choose mode which suits you best.
Tested with: Visa, MasterCard, MIR (other cards should work too).
git clone https://github.com/cuamckuu/nfc-frog.git
cd nfc-frog
make
sudo ./nfc-frog
Project requires libnfc(>= 1.7.1) and Pn532 as NFC reader
Nfc-frog supports multiple modes for reading card data.
This mode will call EMV command GET PROCESSING DATA and then it will read only files and record from command response.
In other words, it will 'emulate' POS terminal reading.
sudo ./nfc-frog GPO
Brutforce mode doesn't call GET PROCESSING OPTIONS to find files, it tries to use READ RECORD on many card files instead.
Both modes will iterate from SFI 1 to SFI 31 and for each existing file:
sudo ./nfc-frog fast # Fast brute mode
sudo ./nfc-frog full # Full brute mode
To get card data only, you should disable stderr output.
For example:
# This way
sudo ./nfc-frog fast 2>&-
# Or this way
sudo ./nfc-frog fast 2>/dev/null
You can parse card data after reading by using one of many online EMV decoders. I personally prefer this one
Example with data from my MIR card:
nfc-frog
?There are bunch of readers for NFC credit cards, but most of them just don't work or lacks some functionality. If there is no such problems, probably it's an android lib/app.
The main idea of nfc-frog
was to get working tool with better availability for everyone.