mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-12-24 15:54:59 -07:00
Add post-install scripts for Autopsy 4 and Resilio.
This commit is contained in:
parent
8b5121d4fc
commit
11168c8129
3 changed files with 35 additions and 22 deletions
|
@ -52,28 +52,6 @@ sudo apt update && sudo apt install codium -y
|
|||
#Make Nemo the defualt file manager
|
||||
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
|
||||
|
||||
#Install the REAL Autopsy for Linux.
|
||||
apt remove sleuthkit autopsy libtsk13 -y
|
||||
apt install testdisk -y
|
||||
wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add -
|
||||
echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list
|
||||
apt update
|
||||
apt install bellsoft-java8 -y
|
||||
export JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/
|
||||
echo "JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/" >> /etc/environment
|
||||
wget https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-4.7.0/sleuthkit-java_4.7.0-1_amd64.deb
|
||||
apt install ./sleuthkit-java_4.7.0-1_amd64.deb -y
|
||||
rm sleuthkit-java_4.7.0-1_amd64.deb
|
||||
wget https://github.com/sleuthkit/autopsy/releases/download/autopsy-4.13.0/autopsy-4.13.0.zip
|
||||
unzip autopsy-4.13.0.zip
|
||||
rm autopsy-4.13.0.zip
|
||||
mv autopsy-4.13.0 /opt/autopsy
|
||||
cd /opt/autopsy
|
||||
chmod +x unix_setup.sh
|
||||
./unix_setup.sh
|
||||
cd /usr/bin
|
||||
ln -s /opt/autopsy/bin/autopsy autopsy
|
||||
|
||||
#Distro-specific stuff
|
||||
DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30)
|
||||
|
||||
|
|
31
filesystem/etc/skel/post-install/install-autopsy.sh
Normal file
31
filesystem/etc/skel/post-install/install-autopsy.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
|
||||
#Root check!
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then
|
||||
echo "You are not root. Please re-run this script with sudo."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
apt remove sleuthkit autopsy libtsk13 -y
|
||||
apt install testdisk -y
|
||||
wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add -
|
||||
echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list
|
||||
apt update
|
||||
apt install bellsoft-java8 -y
|
||||
export JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/
|
||||
echo "JAVA_HOME=/usr/lib/jvm/bellsoft-java8-amd64/" >> /etc/environment
|
||||
wget https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-4.8.0/sleuthkit-java_4.8.0-1_amd64.deb
|
||||
apt install ./sleuthkit-java_4.8.0-1_amd64.deb -y
|
||||
rm sleuthkit-java_4.8.0-1_amd64.deb
|
||||
wget https://github.com/sleuthkit/autopsy/releases/download/autopsy-4.14.0/autopsy-4.14.0.zip
|
||||
unzip autopsy-4.14.0.zip
|
||||
rm autopsy-4.14.0.zip
|
||||
mv autopsy-4.14.0 /opt/autopsy
|
||||
cd /opt/autopsy
|
||||
chmod +x unix_setup.sh
|
||||
./unix_setup.sh
|
||||
cd /usr/bin
|
||||
ln -s /opt/autopsy/bin/autopsy autopsy
|
||||
|
||||
echo "Done! Autopsy 4 should be installed."
|
4
filesystem/etc/skel/post-install/install-resilio.sh
Normal file
4
filesystem/etc/skel/post-install/install-resilio.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
wget https://download-cdn.resilio.com/2.6.4.1344/Debian/resilio-sync_2.6.4.1344-1_amd64.deb
|
||||
apt install ./resilio-sync_2.6.4.1344-1_amd64.deb -y
|
Loading…
Reference in a new issue