pentest-distro-builder/config/pentest-distro-builder.chroot

21 lines
504 B
Text
Raw Normal View History

2018-10-18 15:21:53 -06:00
#!/bin/sh
#Populate root's home folder from /etc/skel
2018-10-23 15:47:13 -06:00
cp -rv /etc/skel/ /root/
2018-10-18 15:21:53 -06:00
#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
2018-10-18 18:01:16 -06:00
#Enable our desired services
2018-10-18 15:21:53 -06:00
systemctl enable ssh
systemctl enable cups
systemctl enable apache2
systemctl enable mysql
systemctl enable postgresql
systemctl enable tor
2018-10-18 18:01:16 -06:00
systemctl enable cockpit.socket