4x05 sniff: available offline

This commit is contained in:
Philippe Teuwen
2020-10-20 16:12:34 +02:00
parent 96a6b99a80
commit 3959b77feb
2 changed files with 5 additions and 1 deletions

View File

@@ -1756,6 +1756,10 @@ int CmdEM4x05Sniff(const char *Cmd) {
// setup and sample data from Proxmark
// if not directed to existing sample/graphbuffer
if (sampleData) {
if (!IfPm3Lf()) {
PrintAndLogEx(WARNING, "Only offline mode is available");
return PM3_EINVARG;
}
CmdLFSniff("");
}