Commit 8f170095 by devttys0

Added enabled kwarg to extractor module

parent 3b41d46d
...@@ -31,13 +31,13 @@ class Extractor(Module): ...@@ -31,13 +31,13 @@ class Extractor(Module):
CLI = [ CLI = [
Option(short='e', Option(short='e',
long='extract', long='extract',
kwargs={'load_default_rules' : True}, kwargs={'load_default_rules' : True, 'enabled' : True},
description='Automatically extract known file types'), description='Automatically extract known file types'),
Option(short='D', Option(short='D',
long='dd', long='dd',
type=[], type=[],
dtype='type:ext:cmd', dtype='type:ext:cmd',
kwargs={'manual_rules' : []}, kwargs={'manual_rules' : [], 'enabled' : True},
description='Extract <type> signatures, give the files an extension of <ext>, and execute <cmd>'), description='Extract <type> signatures, give the files an extension of <ext>, and execute <cmd>'),
Option(short='M', Option(short='M',
long='matryoshka', long='matryoshka',
...@@ -65,6 +65,7 @@ class Extractor(Module): ...@@ -65,6 +65,7 @@ class Extractor(Module):
Kwarg(name='run_extractors', default=True), Kwarg(name='run_extractors', default=True),
Kwarg(name='manual_rules', default=[]), Kwarg(name='manual_rules', default=[]),
Kwarg(name='matryoshka', default=0), Kwarg(name='matryoshka', default=0),
Kwarg(name='enabled', default=False),
] ]
def load(self): def load(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment