]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/snooper.c
REM: removed a debug function call, PrintToSendBuffer
[proxmark3-svn] / client / snooper.c
index 014497485d1efea7e44d11bcfe25709524c2500a..36c80ce65d5be0933d1952e482ef8ca6fd4ecb03 100644 (file)
@@ -1,5 +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 "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) { \
@@ -18,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;
@@ -26,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