]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Fix (iclass)
authorMartin Holst Swende <martin@swende.se>
Sun, 14 Dec 2014 17:07:12 +0000 (18:07 +0100)
committerMartin Holst Swende <martin@swende.se>
Sun, 14 Dec 2014 17:07:12 +0000 (18:07 +0100)
armsrc/iclass.c
client/cmdhficlass.c

index 0ee1b3554568a8fce0d8eca210156bcc7ace5de1..73036712453c92496cbf37bafc7dbe0fbc71a78a 100644 (file)
@@ -994,7 +994,7 @@ void SimulateIClass(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain
        {
 
                uint8_t mac_responses[64] = { 0 };
-               Dbprintf("Going into attack mode");
+               Dbprintf("Going into attack mode, %d CSNS sent", numberOfCSNS);
                // In this mode, a number of csns are within datain. We'll simulate each one, one at a time
                // in order to collect MAC's from the reader. This can later be used in an offlne-attack
                // in order to obtain the keys, as in the "dismantling iclass"-paper.
index d9af90441f16951783d09e40663e5608043036dc..a59a9bac3e1289470355002fe0f5f32ce97c84d8 100644 (file)
@@ -340,7 +340,7 @@ int CmdHFiClassSim(const char *Cmd)
 
        if(simType == 2)
        {
-               UsbCommand c = {CMD_SIMULATE_TAG_ICLASS, {simType,63}};
+               UsbCommand c = {CMD_SIMULATE_TAG_ICLASS, {simType,8}};
                UsbCommand resp = {0};
 
                uint8_t csns[64] = {
Impressum, Datenschutz