pentest-distro-builder/modules/live-build-config/kali-config/common/hooks/live/pentest-distro-builder.chroot

24 lines
518 B
Text
Raw Normal View History

#!/bin/sh
#Populate root's home folder from /etc/skel
cp -ru /etc/skel/* /root/
#Time to git stuff...
cd /root/
git clone https://github.com/Veil-Framework/Veil.git
git clone https://github.com/leebaird/discover.git
git clone https://github.com/trustedsec/ptf
#Enable our desired services
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
systemctl enable ssh
systemctl enable cups
systemctl enable apache2
systemctl enable mysql
systemctl enable postgresql
systemctl enable tor
systemctl enable cockpit.socket
msfdb init