Add check to make sure user did not specify Raw and cn/fc

This commit is contained in:
Angel committed 2023-04-15 22:26:09 -04:00
1 parent ab460c4a22
commit 76e3f38772
1 file changed
+5
+5
View File
@@ -287,6 +287,11 @@ static int CmdParadoxClone(const char *Cmd) {
return PM3_EINVARG;
}
if ((fc || cn) && raw_len != 0) {
PrintAndLogEx(FAILED, "Can't specify both FC/CN and RAW at the same time");
return PM3_EINVARG;
}
uint32_t blocks[4] = {0};
if (raw_len != 0) {