mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07: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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int CmdLFHitagSnoop(const char *Cmd) {
|
int CmdLFHitagSniff(const char *Cmd) {
|
||||||
UsbCommand c = {CMD_SNOOP_HITAG};
|
UsbCommand c = {CMD_SNOOP_HITAG};
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
|
@ -418,7 +418,7 @@ static command_t CommandTable[] = {
|
||||||
{"reader", CmdLFHitagReader, 1, "Act like a Hitag Reader"},
|
{"reader", CmdLFHitagReader, 1, "Act like a Hitag Reader"},
|
||||||
{"sim", CmdLFHitagSim, 1, "<infile> Simulate Hitag transponder"},
|
{"sim", CmdLFHitagSim, 1, "<infile> Simulate Hitag transponder"},
|
||||||
{"simS", CmdLFHitagSimS, 1, "<hitagS.hts> Simulate HitagS 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" },
|
{"writer", CmdLFHitagWP, 1, "Act like a Hitag Writer" },
|
||||||
{"check_challenges", CmdLFHitagCheckChallenges, 1, "<challenges.cc> test all challenges" },
|
{"check_challenges", CmdLFHitagCheckChallenges, 1, "<challenges.cc> test all challenges" },
|
||||||
{ NULL, NULL, 0, NULL }
|
{ NULL, NULL, 0, NULL }
|
||||||
|
|
|
@ -17,7 +17,7 @@ extern int CmdLFHitagList(const char *Cmd);
|
||||||
extern int CmdLFHitagReader(const char *Cmd);
|
extern int CmdLFHitagReader(const char *Cmd);
|
||||||
extern int CmdLFHitagSim(const char *Cmd);
|
extern int CmdLFHitagSim(const char *Cmd);
|
||||||
extern int CmdLFHitagSimS(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 CmdLFHitagWP(const char *Cmd);
|
||||||
extern int CmdLFHitagCheckChallenges(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
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||||
// the license.
|
// the license.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Snooper binary
|
// Sniff binary
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "util_posix.h"
|
#include "util_posix.h"
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
usb_init();
|
usb_init();
|
||||||
SetLogFilename("snooper.log");
|
SetLogFilename("sniffer.log");
|
||||||
|
|
||||||
return_on_error = 1;
|
return_on_error = 1;
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ int main() {
|
||||||
while (!OpenProxmark()) { sleep(1); }
|
while (!OpenProxmark()) { sleep(1); }
|
||||||
while (1) {
|
while (1) {
|
||||||
UsbCommand cmdbuf;
|
UsbCommand cmdbuf;
|
||||||
CommandReceived("hf 14a snoop");
|
CommandReceived("hf 14a sniff");
|
||||||
HANDLE_ERROR;
|
HANDLE_ERROR;
|
||||||
ReceiveCommand(&cmdbuf);
|
ReceiveCommand(&cmdbuf);
|
||||||
HANDLE_ERROR;
|
HANDLE_ERROR;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue