sleuthkit / autopsy

Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools. It can be used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can even use it to recover photos from your camera's memory card.
http://www.sleuthkit.org/autopsy/
2.37k stars 592 forks source link

autopsy not working (Kali linux) #7884

Open MostafaaSFX opened 7 months ago

MostafaaSFX commented 7 months ago

am trying to open autopsy but I have this error and I don't know how to fix it

$ autopsy
Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/autopsy line 307.

devndevs commented 7 months ago

Hi Team,

I am having the same issue as @MostafaaSFX

This is also reported in the Kali Bug Tracker

The reporter of the bug shared a work around:

The fix is to add a line that reads $ENV{PATH} = '/usr/bin/:/usr/sbin/' ahead of line 307.

Little more details on my end:

Machine Specs: PRETTY_NAME="Kali GNU/Linux Rolling" NAME="Kali GNU/Linux" VERSION_ID="2023.4" VERSION="2023.4" VERSION_CODENAME=kali-rolling ID=kali ID_LIKE=debian

Autopsy version 2.24-6

I've tried uninstalling and re-installing from both the Kali package manager and from TSK website and followed all of the instructions in the READ ME

I feel like I've tried pretty much everything I've found in various places and even fiddled around with making temp changes to my $PATH

markmckinnon commented 7 months ago

This is an extremely old version of Autopsy that is not support anymore, the current version of Autopsy is 4.21.0. There is a snap package available if you want to use that or you can use the instructions here (which includes snap) https://github.com/sleuthkit/autopsy/blob/develop/Running_Linux_OSX.md.