mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-12-24 07:44:59 -07:00
Add hook.
Former-commit-id: 2b09983c69
Former-commit-id: 5ac98680a7f1feb041c15c1a52debe175982b5db
This commit is contained in:
parent
f7da7f3982
commit
847a64a64f
2 changed files with 46 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
#!/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
|
||||
|
||||
msfdb init
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
#!/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
|
||||
|
||||
msfdb init
|
||||
|
Loading…
Reference in a new issue