mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-01 00:49:13 -06:00
Kaj Forney
671ae9a027
Former-commit-id: ce9aaa9db99ec4079997d5da7535491584ff8cd9 Former-commit-id: baaa3713b9d25c78e8734fb788f17463481605b5
23 lines
556 B
Bash
23 lines
556 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 enable xrdp
|
|
systemctl disable firewalld
|