Added hf emv exec - command for execute EMV transaction

Added to `hf emv exec` MSD path for VISA and Mastercard and some other compatible EMV cards
This commit is contained in:
merlokk 2017-11-25 14:40:23 +02:00
parent 87fc2dad14
commit 44128a0e9a
2 changed files with 4 additions and 2 deletions

View file

@ -42,6 +42,8 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
- Added `hf emv` group of commands (Merlok)
- Added `hf emv search` `hf emv pse` - commands for selection of EMV application (Merlok)
- Added `hf emv select` - command for select EMV application (Merlok)
- Added `hf emv exec` - command for execute EMV transaction (Merlok)
- Added to `hf emv exec` MSD path for VISA and Mastercard and some other compatible EMV cards (Merlok)
## [3.0.1][2017-06-08]

View file

@ -405,8 +405,8 @@ int CmdHFEMVExec(const char *cmd) {
PrintAndLog("\n* Init transaction parameters.");
//9F66:(Terminal Transaction Qualifiers (TTQ)) len:4
// TLV_ADD(0x9F66, "\x86\x00\x00\x00"); // MSD
TLV_ADD(0x9F66, "\x26\x00\x00\x00"); // qVSDC
TLV_ADD(0x9F66, "\x86\x00\x00\x00"); // MSD
// TLV_ADD(0x9F66, "\x26\x00\x00\x00"); // qVSDC
// TLV_ADD(0x9F66, "\x8e\x00\x00\x00"); // CDA
//9F02:(Amount, Authorised (Numeric)) len:6
TLV_ADD(0x9F02, "\x00\x00\x00\x00\x01\x00");