mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 05:07:03 +08:00
rename snoop -> sniff
This commit is contained in:
parent
1b2601a48a
commit
a35025f33f
3 changed files with 6 additions and 6 deletions
|
@ -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, "<infile> Simulate Hitag transponder"},
|
||||
{"simS", CmdLFHitagSimS, 1, "<hitagS.hts> 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, "<challenges.cc> test all challenges" },
|
||||
{ NULL, NULL, 0, NULL }
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue