]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/snooper.c
CHG: moved includes into header file where it belong
[proxmark3-svn] / client / snooper.c
index 7723a470d8ae088aa9e2036504075ad97297f4e5..36c80ce65d5be0933d1952e482ef8ca6fd4ecb03 100644 (file)
@@ -1,6 +1,16 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Snooper binary
+//-----------------------------------------------------------------------------
+
 #include "sleep.h"
 #include "ui.h"
 #include "sleep.h"
 #include "ui.h"
-#include "proxusb.h"
+//#include "proxusb.h"
 #include "cmdmain.h"
 
 #define HANDLE_ERROR if (error_occured) { \
 #include "cmdmain.h"
 
 #define HANDLE_ERROR if (error_occured) { \
@@ -19,7 +29,7 @@ int main()
     while (!OpenProxmark(0)) { sleep(1); }
     while (1) {
       UsbCommand cmdbuf;
     while (!OpenProxmark(0)) { sleep(1); }
     while (1) {
       UsbCommand cmdbuf;
-      CommandReceived("hi14asnoop");
+      CommandReceived("hf 14a snoop");
       HANDLE_ERROR;
       ReceiveCommand(&cmdbuf);
       HANDLE_ERROR;
       HANDLE_ERROR;
       ReceiveCommand(&cmdbuf);
       HANDLE_ERROR;
@@ -27,7 +37,7 @@ int main()
         ReceiveCommandPoll(&cmdbuf);
       }
       HANDLE_ERROR;
         ReceiveCommandPoll(&cmdbuf);
       }
       HANDLE_ERROR;
-      CommandReceived("hi14alist");
+      CommandReceived("hf list 14a");
       HANDLE_ERROR;
     }
   }
       HANDLE_ERROR;
     }
   }
Impressum, Datenschutz