mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-28 19:25:25 -07:00
6a02a17902
Former-commit-id: e62f136f3677cb73bfa2d22f9ff10e8c0745bcc3
36 lines
893 B
Bash
Executable file
36 lines
893 B
Bash
Executable file
!/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.............'
|
|
|