mirror of https://github.com/MISP/MISP
chg: [doc] Add bootstrap function for Kali
parent
2202304b97
commit
63c3eaf1e2
|
@ -7,10 +7,24 @@
|
||||||
#
|
#
|
||||||
#1/ Prepare Kali with a MISP User
|
#1/ Prepare Kali with a MISP User
|
||||||
#--------------------------------
|
#--------------------------------
|
||||||
# useradd -s /bin/bash -m -G adm,cdrom,sudo,dip,plugdev,www-data misp
|
# To install MISP on Kali copy paste this in your r00t shell:
|
||||||
# passwd misp
|
|
||||||
# su - misp
|
|
||||||
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.kali.txt)"
|
# 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
|
# MISP configuration variables
|
||||||
PATH_TO_MISP='/var/www/MISP'
|
PATH_TO_MISP='/var/www/MISP'
|
||||||
|
|
Loading…
Reference in New Issue