]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
appveyor.yml. display return values (#451)
[proxmark3-svn] / client / cmdhf14a.c
index db9ce46e4b65bea1544dfbe8a1a3b54e71e7329b..e3f1a5f17cf7d4cf7a2546149f62507a289899b0 100644 (file)
@@ -405,27 +405,8 @@ int CmdHF14AReader(const char *Cmd)
 
        
        // try to see if card responses to "chinese magic backdoor" commands.
-       c.cmd = CMD_MIFARE_CIDENT;
-       c.arg[0] = 0;
-       c.arg[1] = 0;
-       c.arg[2] = 0;   
-       SendCommand(&c);
-       WaitForResponse(CMD_ACK,&resp);
-       
-       uint8_t isGeneration = resp.arg[0] & 0xff;
-       switch( isGeneration ){
-               case 1: PrintAndLog("Answers to chinese magic backdoor commands (GEN 1a): YES"); break;
-               case 2: PrintAndLog("Answers to chinese magic backdoor commands (GEN 1b): YES"); break;
-               default: PrintAndLog("Answers to chinese magic backdoor commands: NO"); break;
-       }
+       mfCIdentify();
        
-       // disconnect
-       c.cmd = CMD_READER_ISO_14443a;
-       c.arg[0] = 0;
-       c.arg[1] = 0;
-       c.arg[2] = 0;
-       SendCommand(&c);
-
        return select_status;
 }
 
Impressum, Datenschutz