pentest-distro-builder/modules/parrot-build/templates/common/hooks/pentest-distro-builder.chroot
Kaj Forney b5599bb2d7 Chroots don't like starting things...
Former-commit-id: 194fa64ffa36805a02ee06f96d983d92df2d65ef
Former-commit-id: f0490ab79a7171847f189e697b9bbc2dedd54735
2018-10-18 16:55:09 -06:00

20 lines
505 B
Bash

#!/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