mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 17:18:10 +08:00
chg: 'lf search' - now always check for HITAG
This commit is contained in:
parent
f04be0c044
commit
15b4b198b0
1 changed files with 8 additions and 7 deletions
|
@ -1213,17 +1213,18 @@ int CmdLFfind(const char *Cmd) {
|
||||||
|
|
||||||
// only run these tests if device is online
|
// only run these tests if device is online
|
||||||
if (isOnline) {
|
if (isOnline) {
|
||||||
|
|
||||||
|
if (IfPm3Hitag()) {
|
||||||
|
if (readHitagUid()) {
|
||||||
|
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Hitag") "found!");
|
||||||
|
return PM3_SUCCESS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// only run if graphbuffer is just noise as it should be for hitag
|
// only run if graphbuffer is just noise as it should be for hitag
|
||||||
// The improved noise detection will find Cotag.
|
// The improved noise detection will find Cotag.
|
||||||
if (getSignalProperties()->isnoise) {
|
if (getSignalProperties()->isnoise) {
|
||||||
|
|
||||||
if (IfPm3Hitag()) {
|
|
||||||
if (readHitagUid()) {
|
|
||||||
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Hitag") "found!");
|
|
||||||
return PM3_SUCCESS;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (readMotorolaUid()) {
|
if (readMotorolaUid()) {
|
||||||
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Motorola FlexPass ID") "found!");
|
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Motorola FlexPass ID") "found!");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue