mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-28 19:25:25 -07:00
37 lines
893 B
Bash
37 lines
893 B
Bash
|
!/bin/bash
|
||
|
# init
|
||
|
function pause(){
|
||
|
echo ' '
|
||
|
echo 'Press any key to continue...'; read -p "$*"
|
||
|
}
|
||
|
clear
|
||
|
echo 'System Update'
|
||
|
echo '______________________________________ '
|
||
|
apt update
|
||
|
echo 'Update RSA SSH Keys'
|
||
|
ssh-keygen -t rsa
|
||
|
systemctl restart ssh
|
||
|
systemctl enable ssh --now
|
||
|
systemctl enable cups --now
|
||
|
systemctl enable apache2 --now
|
||
|
systemctl enable mysql --new
|
||
|
systemctl enable postgresql --now
|
||
|
systemctl enable tor --now
|
||
|
systemctl enable cockpit.socket --new
|
||
|
echo 'Init Metacploit Database'
|
||
|
msfdb init
|
||
|
echo 'Init File Locater Database'
|
||
|
updatedb
|
||
|
echo 'Get Stuff from github'
|
||
|
echo 'Get Veil Framework'
|
||
|
git clone https://github.com/Veil-Framework/Veil.git
|
||
|
echo 'Get Discover Scripts for Gethub'
|
||
|
git clone https://github.com/leebaird/discover.git
|
||
|
echo 'Get Penetration Testing Framework'
|
||
|
git clone https://github.com/trustedsec/ptf
|
||
|
pause
|
||
|
apt upgrade -y
|
||
|
echo ''
|
||
|
echo 'Finished.............'
|
||
|
|