]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/main.c
FIX: lf hitag : Mea culpa, simulation should not have reader_field on. thanks to...
[proxmark3-svn] / client / loclass / main.c
index 50671a19220d81f9a54b647bce613d85c158e6f3..95112f7decafe7a79f05c2651d7dd9b2aa848216 100644 (file)
@@ -38,7 +38,6 @@
 
 
 #include <stdio.h>
-#include <cipherutils.h>
 #include <stdint.h>
 #include <stdbool.h>
 #include <string.h>
@@ -56,17 +55,21 @@ int unitTests()
        errors += testMAC();
        errors += doKeyTests(0);
        errors += testElite();
+    if(errors)
+    {
+        prnlog("OBS! There were errors!!!");
+    }
        return errors;
 }
 int showHelp()
 {
-       prnlog("Usage: iclazz [options]");
+    prnlog("Usage: loclass [options]");
        prnlog("Options:");
        prnlog("-t                 Perform self-test");
        prnlog("-h                 Show this help");
        prnlog("-f <filename>      Bruteforce iclass dumpfile");
        prnlog("                   An iclass dumpfile is assumed to consist of an arbitrary number of malicious CSNs, and their protocol responses");
-       prnlog("                   The the binary format of the file is expected to be as follows: ");
+       prnlog("                   The binary format of the file is expected to be as follows: ");
        prnlog("                   <8 byte CSN><8 byte CC><4 byte NR><4 byte MAC>");
        prnlog("                   <8 byte CSN><8 byte CC><4 byte NR><4 byte MAC>");
        prnlog("                   <8 byte CSN><8 byte CC><4 byte NR><4 byte MAC>");
Impressum, Datenschutz