X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/4cd41f34ead6351f3b0a897453b25c036021c53f..5381b6fed52da1b7d1d3d07bb176555e02903029:/client/snooper.c diff --git a/client/snooper.c b/client/snooper.c index 7723a470..36c80ce6 100644 --- a/client/snooper.c +++ b/client/snooper.c @@ -1,6 +1,16 @@ +//----------------------------------------------------------------------------- +// Copyright (C) 2009 Michael Gernoth +// +// 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 "proxusb.h" +//#include "proxusb.h" #include "cmdmain.h" #define HANDLE_ERROR if (error_occured) { \ @@ -19,7 +29,7 @@ int main() while (!OpenProxmark(0)) { sleep(1); } while (1) { UsbCommand cmdbuf; - CommandReceived("hi14asnoop"); + CommandReceived("hf 14a snoop"); HANDLE_ERROR; ReceiveCommand(&cmdbuf); HANDLE_ERROR; @@ -27,7 +37,7 @@ int main() ReceiveCommandPoll(&cmdbuf); } HANDLE_ERROR; - CommandReceived("hi14alist"); + CommandReceived("hf list 14a"); HANDLE_ERROR; } }