pentest-distro-builder/config/pentest-distro-builder.chroot
Kaj Forney 47d79fb415 Squash infuriating hook bug.
Former-commit-id: a678944117a054d5839db9e0cf6b2db71876084b
Former-commit-id: 3405464e31a4b71a5362d4d23e6fbdcbcb5ea3e6
2018-10-23 15:47:13 -06:00

21 lines
504 B
Bash

#!/bin/sh
#Populate root's home folder from /etc/skel
cp -rv /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
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
#Enable our desired services
systemctl enable ssh
systemctl enable cups
systemctl enable apache2
systemctl enable mysql
systemctl enable postgresql
systemctl enable tor
systemctl enable cockpit.socket