pentest-distro-builder/config/pentest-distro-builder.chroot
Kaj Forney 73948bd690 Remove module folders before...
Former-commit-id: 53511a109e9d3a77e7015209beae9fd54f35cbec
Former-commit-id: 2c6a0a706d9c4ee139aa47a8664a01d5f0a61abb
2018-11-07 16:30:35 -07:00

23 lines
534 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
systemctl disable firewalld