Add check to make sure user did not specify Raw and cn/fc
This commit is contained in:
1 parent
ab460c4a22
commit
76e3f38772
1 file changed
+5
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user