mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
add check for no wave in graphbuffer prior to...
hitag lf search check
This commit is contained in:
parent
11117f6ab5
commit
38cb7c71c5
3 changed files with 19 additions and 4 deletions
|
@ -1180,10 +1180,14 @@ int CmdLFfind(const char *Cmd)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (!offline && (cmdp != '1')){
|
||||
ans=CmdLFHitagReader("26");
|
||||
if (ans==0) {
|
||||
return 1;
|
||||
size_t testLen = (GraphTraceLen < 500) ? GraphTraceLen : 500;
|
||||
// only run if graphbuffer is just noise as it should be for hitag
|
||||
if (graphJustNoise(GraphBuffer, testLen)) {
|
||||
if (!offline && (cmdp != '1')){
|
||||
ans=CmdLFHitagReader("26");
|
||||
if (ans==0) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue