]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
ADD: some new usb commmands from EMV, and for LEGIC.
authoriceman1001 <iceman@iuse.se>
Thu, 28 Jul 2016 19:16:02 +0000 (21:16 +0200)
committericeman1001 <iceman@iuse.se>
Thu, 28 Jul 2016 19:16:02 +0000 (21:16 +0200)
client/lualibs/commands.lua
include/usb_cmd.h

index afdba7e701a03d14e4fcc2a87452cf5ee3f079c9..b953562e8779587b9e1d264952231f33ddaa322b 100644 (file)
@@ -95,6 +95,7 @@ local _commands = {
        CMD_SNOOP_ISO_14443a =                                               0x0383,
        CMD_SIMULATE_TAG_ISO_14443a =                                        0x0384,
        CMD_READER_ISO_14443a =                                              0x0385,
        CMD_SNOOP_ISO_14443a =                                               0x0383,
        CMD_SIMULATE_TAG_ISO_14443a =                                        0x0384,
        CMD_READER_ISO_14443a =                                              0x0385,
+       CMD_RAW_WRITER_LEGIC_RF =                                                                                        0x0386,
        CMD_SIMULATE_TAG_LEGIC_RF =                                          0x0387,
        CMD_READER_LEGIC_RF =                                                0x0388,
        CMD_WRITER_LEGIC_RF =                                                0x0389,
        CMD_SIMULATE_TAG_LEGIC_RF =                                          0x0387,
        CMD_READER_LEGIC_RF =                                                0x0388,
        CMD_WRITER_LEGIC_RF =                                                0x0389,
@@ -169,6 +170,18 @@ local _commands = {
        CMD_MIFARE_DESFIRE =                                                 0x072e,
     CMD_HF_SNIFFER =                                                     0x0800,       
 
        CMD_MIFARE_DESFIRE =                                                 0x072e,
     CMD_HF_SNIFFER =                                                     0x0800,       
 
+       
+       --// For EMV Commands
+       CMD_EMV_READ_RECORD =                                                0x0700,
+       CMD_EMV_TRANSACTION =                                                0x0701,
+       CMD_EMV_CLONE =                                                      0x0702,
+       CMD_EMV_SIM =                                                        0x0703,
+       CMD_EMV_TEST =                                                       0x0704,
+       CMD_EMV_FUZZ_RATS =                                                  0x0705,
+       CMD_EMV_GET_RANDOM_NUM =                                             0x0706,
+       CMD_EMV_LOAD_VALUE =                                                 0x0707,
+       CMD_EMV_DUMP_CARD =                                                  0x0708,
+       
        CMD_UNKNOWN =                                                        0xFFFF,
 }
 
        CMD_UNKNOWN =                                                        0xFFFF,
 }
 
index ae9d15c289a95630a2c26e8fccb6fa290ee5b3bd..e4ec049356ae60b8d0a23b92ddd67046137714c1 100644 (file)
@@ -138,6 +138,7 @@ typedef struct{
 #define CMD_SNOOP_ISO_14443a                                              0x0383
 #define CMD_SIMULATE_TAG_ISO_14443a                                       0x0384
 #define CMD_READER_ISO_14443a                                             0x0385
 #define CMD_SNOOP_ISO_14443a                                              0x0383
 #define CMD_SIMULATE_TAG_ISO_14443a                                       0x0384
 #define CMD_READER_ISO_14443a                                             0x0385
+#define CMD_RAW_WRITER_LEGIC_RF                                           0x0386
 #define CMD_SIMULATE_TAG_LEGIC_RF                                         0x0387
 #define CMD_READER_LEGIC_RF                                               0x0388
 #define CMD_WRITER_LEGIC_RF                                               0x0389
 #define CMD_SIMULATE_TAG_LEGIC_RF                                         0x0387
 #define CMD_READER_LEGIC_RF                                               0x0388
 #define CMD_WRITER_LEGIC_RF                                               0x0389
@@ -213,6 +214,18 @@ typedef struct{
 
 #define CMD_HF_SNIFFER                                                    0x0800
 
 
 #define CMD_HF_SNIFFER                                                    0x0800
 
+
+// For EMV Commands
+#define CMD_EMV_READ_RECORD                                               0x0700
+#define CMD_EMV_TRANSACTION                                               0x0701
+#define CMD_EMV_CLONE                                                     0x0702
+#define CMD_EMV_SIM                                                       0x0703
+#define CMD_EMV_TEST                                                      0x0704
+#define CMD_EMV_FUZZ_RATS                                                 0x0705
+#define CMD_EMV_GET_RANDOM_NUM                                            0x0706
+#define CMD_EMV_LOAD_VALUE                                                0x0707
+#define CMD_EMV_DUMP_CARD                                                 0x0708
+
 #define CMD_UNKNOWN                                                       0xFFFF
 
 
 #define CMD_UNKNOWN                                                       0xFFFF
 
 
Impressum, Datenschutz