scripts: add cli arguments to specify signatures

This commit is contained in:
William Ballenthin
2021-03-04 15:04:33 -07:00
parent c0f4fe6867
commit c2a4629c62
6 changed files with 30 additions and 6 deletions

View File

@@ -125,7 +125,7 @@ def main(argv=None):
extractor = capa.features.freeze.load(f.read())
else:
try:
extractor = capa.main.get_extractor(args.sample, args.format, capa.main.BACKEND_VIV)
extractor = capa.main.get_extractor(args.sample, args.format, capa.main.BACKEND_VIV, sigpaths=[])
except capa.main.UnsupportedFormatError:
logger.error("-" * 80)
logger.error(" Input file does not appear to be a PE file.")