From: merlokk Date: Wed, 1 Nov 2017 11:54:03 +0000 (+0200) Subject: fixed bug with `hf search 14a` X-Git-Tag: v3.1.0~137^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/fe842bed9ce5d92a59605c239bec71f19c94d31a?hp=7dac1034e5db678e0b8a291b58d6f2eb2fdf07df fixed bug with `hf search 14a` --- diff --git a/client/cmdhf.c b/client/cmdhf.c index 6aa5ae4e..168296ba 100644 --- a/client/cmdhf.c +++ b/client/cmdhf.c @@ -663,7 +663,7 @@ int CmdHFList(const char *Cmd) int CmdHFSearch(const char *Cmd){ int ans = 0; PrintAndLog(""); - ans = CmdHF14AReader("s"); + ans = CmdHF14AInfo("s"); if (ans > 0) { PrintAndLog("\nValid ISO14443A Tag Found - Quiting Search\n"); return ans; diff --git a/client/cmdhf14a.h b/client/cmdhf14a.h index dfdf1f4a..2556678d 100644 --- a/client/cmdhf14a.h +++ b/client/cmdhf14a.h @@ -18,6 +18,7 @@ int CmdHF14A(const char *Cmd); int CmdHF14AList(const char *Cmd); int CmdHF14AMifare(const char *Cmd); int CmdHF14AReader(const char *Cmd); +extern int CmdHF14AInfo(const char *Cmd); int CmdHF14ASim(const char *Cmd); int CmdHF14ASnoop(const char *Cmd); char* getTagInfo(uint8_t uid);