mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-05-05 17:23:34 -06:00
Kaj Forney
0f03352587
Former-commit-id: 1743e410a6e101150b69d83820ad5977959521f4 Former-commit-id: f20b3f34f1b1556937c55afcc0234a65624f53c9
21 lines
505 B
Bash
21 lines
505 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 |