From a35025f33f3c7716cac0aee631db5e8b171d6b6a Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 12 Mar 2019 12:56:39 +0100 Subject: [PATCH] rename snoop -> sniff --- client/cmdlfhitag.c | 4 ++-- client/cmdlfhitag.h | 2 +- client/snooper.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/cmdlfhitag.c b/client/cmdlfhitag.c index 42540f305..9ffdfa6cb 100644 --- a/client/cmdlfhitag.c +++ b/client/cmdlfhitag.c @@ -173,7 +173,7 @@ int CmdLFHitagList(const char *Cmd) { return 0; } -int CmdLFHitagSnoop(const char *Cmd) { +int CmdLFHitagSniff(const char *Cmd) { UsbCommand c = {CMD_SNOOP_HITAG}; clearCommandBuffer(); SendCommand(&c); @@ -418,7 +418,7 @@ static command_t CommandTable[] = { {"reader", CmdLFHitagReader, 1, "Act like a Hitag Reader"}, {"sim", CmdLFHitagSim, 1, " Simulate Hitag transponder"}, {"simS", CmdLFHitagSimS, 1, " Simulate HitagS transponder" }, - {"snoop", CmdLFHitagSnoop, 1, "Eavesdrop Hitag communication"}, + {"sniff", CmdLFHitagSniff, 1, "Eavesdrop Hitag communication"}, {"writer", CmdLFHitagWP, 1, "Act like a Hitag Writer" }, {"check_challenges", CmdLFHitagCheckChallenges, 1, " test all challenges" }, { NULL, NULL, 0, NULL } diff --git a/client/cmdlfhitag.h b/client/cmdlfhitag.h index e43ed58ff..2c39ef345 100644 --- a/client/cmdlfhitag.h +++ b/client/cmdlfhitag.h @@ -17,7 +17,7 @@ extern int CmdLFHitagList(const char *Cmd); extern int CmdLFHitagReader(const char *Cmd); extern int CmdLFHitagSim(const char *Cmd); extern int CmdLFHitagSimS(const char *Cmd); -extern int CmdLFHitagSnoop(const char *Cmd); +extern int CmdLFHitagSniff(const char *Cmd); extern int CmdLFHitagWP(const char *Cmd); extern int CmdLFHitagCheckChallenges(const char *Cmd); diff --git a/client/snooper.c b/client/snooper.c index 88a30edaa..35267bc22 100644 --- a/client/snooper.c +++ b/client/snooper.c @@ -5,7 +5,7 @@ // at your option, any later version. See the LICENSE.txt file for the text of // the license. //----------------------------------------------------------------------------- -// Snooper binary +// Sniff binary //----------------------------------------------------------------------------- #include "util_posix.h" @@ -19,7 +19,7 @@ int main() { usb_init(); - SetLogFilename("snooper.log"); + SetLogFilename("sniffer.log"); return_on_error = 1; @@ -27,7 +27,7 @@ int main() { while (!OpenProxmark()) { sleep(1); } while (1) { UsbCommand cmdbuf; - CommandReceived("hf 14a snoop"); + CommandReceived("hf 14a sniff"); HANDLE_ERROR; ReceiveCommand(&cmdbuf); HANDLE_ERROR;