]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
minor adjustment to askmandemod for lf search
authormarshmellow42 <marshmellowrf@gmail.com>
Wed, 31 Dec 2014 19:55:58 +0000 (14:55 -0500)
committermarshmellow42 <marshmellowrf@gmail.com>
Wed, 31 Dec 2014 19:55:58 +0000 (14:55 -0500)
returns false if it finds data but not an EM410x format.

client/cmddata.c

index bb9407d7ba29cc2c2154038e69ae8e4739d0ca2e..d8a0fcf6b83b60a0b67f7f72d9557cef5e8d54ad 100644 (file)
@@ -234,8 +234,9 @@ int Cmdaskmandemod(const char *Cmd)
     setGraphBuf(BitStream,BitLen); 
     PrintAndLog("EM410x pattern found: ");
     printEM410x(lo);
     setGraphBuf(BitStream,BitLen); 
     PrintAndLog("EM410x pattern found: ");
     printEM410x(lo);
+    return 1;
   }
   }
-  if (BitLen>16) return 1;
+  //if (BitLen>16) return 1;
   return 0;
 }
 
   return 0;
 }
 
Impressum, Datenschutz