mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-22 01:50:56 -07:00
Kaj Forney
87e2f21a85
Former-commit-id: 3de72f1128a59bc44cb0e9163560c6c8bb52f322 Former-commit-id: 5a01b533816cd6885bd705f12622abd73d756f43
21 lines
No EOL
505 B
Bash
21 lines
No EOL
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 |