mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-17 07:40:10 -07:00
Kaj Forney
2696807dd0
Former-commit-id: 6994b5d3a3d6b06634e5a6a95820e892ece66539 Former-commit-id: 7a6e75b562f43c05582adab09569faff774f9288
24 lines
545 B
Bash
24 lines
545 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
|
|
|
|
systemctl start postgresql
|
|
msfdb init
|
|
|