X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7fe9b0b742d7dae9c5af1d292d11840b5c3cbfae..905c55de2bbe642412b47ed4e92344096c817fac:/client/snooper.c diff --git a/client/snooper.c b/client/snooper.c index 01449748..36c80ce6 100644 --- a/client/snooper.c +++ b/client/snooper.c @@ -1,5 +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) { \ @@ -18,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; @@ -26,7 +37,7 @@ int main() ReceiveCommandPoll(&cmdbuf); } HANDLE_ERROR; - CommandReceived("hi14alist"); + CommandReceived("hf list 14a"); HANDLE_ERROR; } }