mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-17 07:40:10 -07:00
Kaj Forney
8cf557c87d
Former-commit-id: 087398b5985e3c15fa46dcba24c9d4328a4e2e44 Former-commit-id: 29af321e29929d46452765d3ee89c0f7d00097c9
24 lines
544 B
Bash
24 lines
544 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
|
|
|
|
sytemctl start postgresql
|
|
msfdb init
|
|
|