pentest-distro-builder/config/pentest-distro-builder.chroot
Kaj Forney bb7198406b Move hook to config folder.
Former-commit-id: 3a9bb95ba51c0f14303969d53c6e51e6ff9f319e
Former-commit-id: b1f759ff281a060a67d5b130590254996bd0e677
2018-10-18 18:01:16 -06:00

21 lines
504 B
Bash

#!/bin/sh
#Populate root's home folder from /etc/skel
cp -r /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