delated watch function (em4x50)

This commit is contained in:
tharexde
2020-11-30 00:03:22 +01:00
parent e6eb6af9e3
commit f03fac540a
7 changed files with 0 additions and 75 deletions

View File

@@ -661,7 +661,6 @@ static command_t CommandTable[] = {
{"4x50_brute", CmdEM4x50Brute, IfPm3EM4x50, "guess password of EM4x50"},
{"4x50_login", CmdEM4x50Login, IfPm3EM4x50, "login into EM4x50"},
{"4x50_reset", CmdEM4x50Reset, IfPm3EM4x50, "reset EM4x50"},
{"4x50_watch", CmdEM4x50Watch, IfPm3EM4x50, "watch for EM4x50 tags"},
{"4x50_restore",CmdEM4x50Restore, IfPm3EM4x50, "restore EM4x50 dump to tag"},
{"4x50_sim", CmdEM4x50Sim, IfPm3EM4x50, "simulate EM4x50 tag"},
{"4x50_reader", CmdEM4x50Reader, IfPm3EM4x50, "show standard read mode data of EM4x50"},

View File

@@ -819,37 +819,6 @@ int CmdEM4x50Reader(const char *Cmd) {
return PM3_SUCCESS;
}
int CmdEM4x50Watch(const char *Cmd) {
// continously envoke reading of a EM4x50 tag
PacketResponseNG resp;
CLIParserContext *ctx;
CLIParserInit(&ctx, "lf em 4x50_watch",
"Watches for EM4x50 tags. Function runs until button is pressed.",
"lf em 4x50_watch\n"
);
void *argtable[] = {
arg_param_begin,
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
CLIParserFree(ctx);
PrintAndLogEx(SUCCESS, "Watching for EM4x50 cards - place tag on antenna");
PrintAndLogEx(INFO, "You can cancel this operation by pressing the pm3 button");
clearCommandBuffer();
SendCommandNG(CMD_LF_EM4X50_WATCH, 0, 0);
WaitForResponseTimeoutW(CMD_LF_EM4X50_WATCH, &resp, -1, false);
PrintAndLogEx(INFO, "Done");
return PM3_SUCCESS;
}
int CmdEM4x50Dump(const char *Cmd) {
int fnLen = 0, pwdLen = 0, status = 0;

View File

@@ -26,7 +26,6 @@ int CmdEM4x50Wipe(const char *Cmd);
int CmdEM4x50Brute(const char *Cmd);
int CmdEM4x50Login(const char *Cmd);
int CmdEM4x50Reset(const char *Cmd);
int CmdEM4x50Watch(const char *Cmd);
int CmdEM4x50Restore(const char *Cmd);
int CmdEM4x50Sim(const char *Cmd);
int CmdEM4x50Reader(const char *Cmd);