diff --git a/INSTALL/INSTALL.kali.txt b/INSTALL/INSTALL.kali.txt index 21f58d1ce..9942f5925 100644 --- a/INSTALL/INSTALL.kali.txt +++ b/INSTALL/INSTALL.kali.txt @@ -7,10 +7,24 @@ # #1/ Prepare Kali with a MISP User #-------------------------------- -# useradd -s /bin/bash -m -G adm,cdrom,sudo,dip,plugdev,www-data misp -# passwd misp -# su - misp +# To install MISP on Kali copy paste this in your r00t shell: # sh -c "$(curl -fsSL https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.kali.txt)" +# /!\ Please read the installer script before randomly doing the above. +# The script is tested on a plain vanilla Kali Linux Boot CD and installs quite a few dependencies. + +function kaliOnRootR0ckz () { + if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root" + exit 1 + else + useradd -s /bin/bash -m -G adm,cdrom,sudo,dip,plugdev,www-data misp + passwd misp + su -m misp + cd ~misp + fi +} + +kaliOnRootR0ckz # MISP configuration variables PATH_TO_MISP='/var/www/MISP'