diff --git a/detection/__main__.py b/detection/__main__.py index 9881eb5..fffaf0a 100644 --- a/detection/__main__.py +++ b/detection/__main__.py @@ -420,7 +420,10 @@ def main(): "-m", "--mode", help="Mode of operation:[regex,llm]", default="regex" ) parser.add_argument( - "-p", "--pycdc", help="Path to pycdc.exe to decompile", default=None + "-p", + "--pycdc", + help="Path to pycdc.exe to decompile", + default=os.getenv("pycdc"), ) args = parser.parse_args() output_format = "txt" # Default output format