pentest-distro-builder/config/pentest-distro-builder.chroot
Kaj Forney 65baade1d4 Remove module folders before...
Former-commit-id: bee657e7746a24dbb5145f9cd97e8a88934dc164
Former-commit-id: 2c6a0a706d9c4ee139aa47a8664a01d5f0a61abb
2018-11-07 16:30:35 -07:00

22 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