Removing redunant 'or $STR1' from condition

This commit is contained in:
foralost 2023-02-25 17:35:17 +01:00
parent ed82e48c0b
commit ab6c2d2c1d

View File

@ -172,7 +172,6 @@ public class YaraGhidraGUIScript extends GhidraScript {
yaraString.append("\t\t$STR" + 1 + " = { " + fullStr + " }\n");
yaraString.append("\n\tcondition:\n");
yaraString.append("\t\t$STR1");
yaraString.append(" or $STR" + (1));
yaraString.append("\n}\n");
return yaraString.toString();