mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-05-09 11:13:34 -06:00
Kaj Forney
73948bd690
Former-commit-id: 53511a109e9d3a77e7015209beae9fd54f35cbec Former-commit-id: 2c6a0a706d9c4ee139aa47a8664a01d5f0a61abb
23 lines
534 B
Bash
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
|