def __init__(self): Module.__init__(self, 'timeline', Timeline) self.conf.addArgument({"name": "file", "description": "Text file to display", "input": Argument.Required|Argument.Single|typeId.Node}) self.tags = 'Statistics' self.icon = ":date"
def __init__(self): Module.__init__(self, "hexadecimal", ViewerHexa) self.conf.addArgument({"input": Argument.Required|Argument.Single|typeId.Node, "name": "file", "description": "File to display as hexadecimal"}) self.conf.addArgument({"name": "preview", "description": "Preview mode", "input": Argument.Empty}) self.tags = "Viewers" self.icon = ":hexedit.png"
def __init__(self): Module.__init__(self, "metaexif", MetaEXIF) self.conf.addArgument({"name": "file", "description": "file for extracting metadata", "input": Argument.Required|Argument.Single|typeId.Node}) self.conf.addConstant({"name": "mime-type", "type": typeId.String, "description": "managed mime type", "values": ["jpeg", "TIFF"]}) self.flags = ["single"] self.tags = "Metadata"
def __init__(self): Module.__init__(self, "pdf", PDF) self.conf.addArgument({"name": "file", "description": "Pdf file to display", "input": Argument.Required|Argument.Single|typeId.Node}) self.conf.addConstant({"name": "mime-type", "type": typeId.String, "description": "managed mime type", "values": ["PDF"]}) self.tags = "Viewers" self.flags = ["gui"] self.icon = ":text"
def __init__(self): Module.__init__(self, "unzip", UNZIP) self.conf.addArgument({"name": "file", "input": Argument.Required|Argument.Single|typeId.Node, "description": "zip file to decompress" }) self.conf.addConstant({"name": "mime-type", "type": typeId.String, "description": "managed mime type", "values": ["Zip"]}) self.tags = "Archives" self.icon = ":zip"
def __init__(self): """Video and Audio player""" Module.__init__(self, "player", PLAYER) self.conf.addArgument({"name": "file", "description": "multimedia file to play", "input": Argument.Required|Argument.Single|typeId.Node}) self.tags = "Viewers" #for mimeType in Phonon.BackendCapabilities.availableMimeTypes(): #self.conf.add_const("mime-type", str(mimeType)) self.conf.addConstant({"name": "mime-type", "type": typeId.String, "description": "managed mime type", "values": ["video", "audio"]}) self.icon = ":multimedia"
def __init__(self): Module.__init__(self, "pictures", ImageView) self.conf.addArgument({"name": "file", "description": "Picture file to display", "input": Argument.Required|Argument.Single|typeId.Node}) self.conf.addArgument({"name": "preview", "description": "Preview mode", "input": Argument.Empty}) self.conf.addConstant({"name": "mime-type", "type": typeId.String, "description": "managed mime type", "values": ["JPEG", "GIF", "PNG", "PC bitmap", "TIFF", "PBM", "PGM", "PPM", "XBM", "XPM"]}) self.tags = "Viewers" self.icon = ":lphoto"
def __init__(self): Module.__init__(self, "find", FIND) self.conf.addArgument({"name": "filter_name", "description": "Name of the filter", "input": Argument.Single|Argument.Required|typeId.String}) self.conf.addArgument({"name": "expression", "description": 'Expression provided to filter engine (e.g: name == w("*.jp?g", i)', "input": Argument.Single|Argument.Required|typeId.String}) self.conf.addArgument({"name": "root_node", "description": "node from which apply filter expression", "input": Argument.Single|Argument.Required|typeId.Node}) self.conf.addArgument({"name": "recursive", "description": "apply filter expression in recursive way (on all thre subtree from provided root_node)", "input": Argument.Empty}) self.conf.addArgument({"name": "save_result", "description": "save results by creating links to matching nodes", "input": Argument.Empty}) self.conf.addArgument({"name": "verbose", "description": "outputs matching node on console during processing", "input": Argument.Empty}) self.tags = "Search"
def __init__(self): Module.__init__(self, 'carverui', CarverUi) self.conf.addArgument({"name": "file", "input": typeId.Node|Argument.Single|Argument.Required, "description": "Node to search data in"}) self.conf.addArgument({"name": "block-aligned", "input": Argument.Empty, "description": "if setted only search signatures at the begining of blocks (faster but less accurate)"}) self.conf.addArgument({"name": "start-offset", "input": typeId.UInt64|Argument.Single|Argument.Optional, "description": "offset from which to start carving"}) for mimetype in filetypes.keys(): predefined = [] for subtype in filetypes[mimetype].keys(): predefined.append(subtype) self.conf.addArgument({"name": mimetype, "input": typeId.String|Argument.List|Argument.Optional, "description": "managed types", "parameters": {"type": Parameter.NotEditable, "predefined": predefined} }) self.tags = "builtins"
def __init__(self): Module.__init__(self, 'mfso_contiguous', MfsoContiguous) self.conf.add("parent", "node") self.tags = "file system"
def __init__(self): Module.__init__(self, 'mfsotest', MfsoTest) self.conf.add("parent", "node") self.tags = "file system"
def __init__(self): Module.__init__(self, "post_process", POST_PROCESS) self.conf.addArgument({"name":"module", "description": "Module to add to the post processing list", "input" : Argument.Required|Argument.Single|typeId.String}) self.tags = "builtins"
def __init__(self): Module.__init__(self, "batch", BATCH) self.conf.addArgument({"name":"path", "description": "Path to a dff batch file", "input" : Argument.Required|Argument.Single|typeId.Path}) self.tags = "builtins"
def __init__(self): Module.__init__(self, 'carvergui', CarverGui) self.conf.addArgument({"name": "file", "input": typeId.Node|Argument.Single|Argument.Required, "description": "Node to search data in"}) self.tags = "Search"