mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-25 01:35:24 -07:00
Kaj Forney
f7da7f3982
Former-commit-id: d5258c85bc
Former-commit-id: aaf57e63c1976b3960fee717c68c3b09dc1a94ff
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 --now
|
|
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.............'
|
|
|