/usr/bin/dff-gui is in dff 1.3.0+dfsg.1-4.1+b2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #! /usr/bin/python -i
# DFF -- An Open Source Digital Forensics Framework
# Copyright (C) 2009-2013 ArxSys
# This program is free software, distributed under the terms of
# the GNU General Public License Version 2. See the LICENSE file
# at the top of the source tree.
#
# See http://www.digital-forensic.org for more information about this
# project. Please do not directly contact any of the maintainers of
# DFF for assistance; the project provides a web site, mailing lists
# and IRC channels for your use.
#
# Author(s):
# Solal Jacob <sja@digital-forensic.org>
#
"""@package dff
Digital-forensic framework launcher
"""
import os, sys, getopt
from dff.api.manager.manager import ApiManager
from dff.ui.gui.gui import GUI
from dff.ui.console.console import Console
from dff.ui.ui import Usage
MODULES_PATHS = ["dff/modules"]
def fg():
"""Launch shell loop"""
ui.launch()
if __name__ == "__main__":
"""You can place some script command here for testing purpose"""
argv = Usage(sys.argv[1:])
if argv.batch:
console = Console(debug=argv.debug, verbosity=argv.verbosity)
console.loadModules(MODULES_PATHS)
console.onecmd("batch " + argv.batch, False)
ui = GUI(argv.debug, argv.verbosity)
ui.launch(MODULES_PATHS)
|