mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-01 00:49:13 -06:00
Kaj Forney
65baade1d4
Former-commit-id: bee657e7746a24dbb5145f9cd97e8a88934dc164 Former-commit-id: 2c6a0a706d9c4ee139aa47a8664a01d5f0a61abb
22 lines
534 B
Bash
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
|