FAQ

From Digital Forensics Framework

Jump to: navigation, search

Contents

Launch

Launch DFF with administrator rights

Launching DFF as administrator is required when you want to perform an analysis directly on a device.

Under Linux systems

sudo dff -g

Under Windows systems

Press Control+Shift and right click on DFF (GUI) short-cut, you will see the command "run as" and launch it as an administrator user. If this doesn't work, you can launch DFF directly from command line :

Right click on the command line program and select run as administrator :

Launch cmd.png

Then launch DFF with python command :

Launch dff.jpg

Compilation

I get the following error during the compilation: "CMAKE_CXX_COMPILER-NOTFOUND" ?

This error means that you do not have a C++ compiler. You will need to install one. Debian users have two possibilities:

apt-get install build-essential

or

apt-get install g++

For other distributions, please refer to their official documentations.

I get the following error during compilation: "error: Python.h: No such file or directory".

This error is due to the Python development libraries not being installed. Debian users just have to execute the following command as root:

apt-get install python-dev

How do I obtain the minimum required swig version?

There are two different methods to get a compatible version of swig. The first is to download the swig sources and compile it.


You can download the source code at Swig sources. The version MUST be at least 1.3.38. Extract the content of the archive, go into the created folder and type the following command:

#> make && make install

The second is to add a new software repository and get the new package.

Method specific to Debian users.

Warning.png

the following methods could break your system !!!

Through Gnome interface The following page from Ubuntu documentation provides an example on how to add a new repository. At step 3, replace

deb http://ftp.debian.org etch main

by

deb http://ftp.debian.org unstable main

Once this new repository is added, you will be able to install the appropriate swig version

#> apt-get install swig

Through command line

#> echo "deb http://ftp.debian.org unstable main" >> /etc/apt/source.list
#> apt-get update
#> apt-get install swig
#> sed -i "/deb http://ftp.debian.org unstable main/d" /etc/apt/source.list
#> apt-get update
Bulb.png

Once you have installed swig, remove the repository you have just added. If not, it could break your distribution. In order to do so, follow the previous steps but remove the "unstable" source repository; and return it to the original value(s) if desired.

When running cmake I encounter the following error "Python Qt4 resource compiler found"

You must install PyQt development tools. Under Ubuntu, this package is called pyqt4-dev-tools.

While DFF is running.

"in import libexceptions ImportError: No module named libexceptions"

This error is occurs when DFF is compiled with a version of swig inferior to 1.3.38. Follow these steps to download and install the correct version of swig.

When I attempt to open a device, I receive the following message "dbus.exceptions.DBusException"

This error has been encountered on Ubuntu 10.10. The exact error message is "dbus.exceptions.DBusException":org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files"

This message means that you need to install the hal (hardware abstract view) package. Using apt (debian-based distribution) it can be done by launching the following command as root :

apt-get install hal

For other distributions, please refer to their official documentations.