mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-16 23:30:09 -07:00
Kaj Forney
badc282479
Former-commit-id: 91af3e70c2756eec245d4028eba2e2b18b5fd37a Former-commit-id: 6717cc828ab08ae8d0653710a7faed234302ba41
20 lines
505 B
Bash
20 lines
505 B
Bash
#!/bin/sh
|
|
|
|
#Populate root's home folder from /etc/skel
|
|
cp -ru /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
|
|
|
|
#Enable our desired services
|
|
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
|
|
systemctl enable ssh
|
|
systemctl enable cups
|
|
systemctl enable apache2
|
|
systemctl enable mysql
|
|
systemctl enable postgresql
|
|
systemctl enable tor
|
|
systemctl enable cockpit.socket
|