Update Thu Aug 4 09:32:28 PM CDT 2022
This commit is contained in:
parent
188fb0af30
commit
3790534bc4
|
|
@ -37,6 +37,12 @@
|
||||||
# Writeups / Honorable Mentions
|
# Writeups / Honorable Mentions
|
||||||
- ip3c4c_n00b https://ip3c4c.com/2202_homelab_vmware/
|
- ip3c4c_n00b https://ip3c4c.com/2202_homelab_vmware/
|
||||||
|
|
||||||
|
# Revision 1.5.7 - Fix SSH Function
|
||||||
|
- Menu option letter O Only (is not included in N, 0 or 1 at this time)
|
||||||
|
- added function to set ssh to wide compatibility mode
|
||||||
|
- file created : /etc/ssh/ssh_config.d/kali-wide-compat.conf
|
||||||
|
- resolves issues with ssh -i id_rsa and various other legacy ciphers
|
||||||
|
|
||||||
# Revision 1.5.6b - restart-vm-tools
|
# Revision 1.5.6b - restart-vm-tools
|
||||||
- restart-vm-tools removed from check_vm function
|
- restart-vm-tools removed from check_vm function
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
# Standard Disclaimer: Author assumes no liability for any damage
|
# Standard Disclaimer: Author assumes no liability for any damage
|
||||||
|
|
||||||
# revision var
|
# revision var
|
||||||
revision="1.5.6c"
|
revision="1.5.7"
|
||||||
|
|
||||||
# unicorn puke:
|
# unicorn puke:
|
||||||
red=$'\e[1;31m'
|
red=$'\e[1;31m'
|
||||||
|
|
@ -1480,6 +1480,28 @@ cleanup() {
|
||||||
# function call list : get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;;
|
# function call list : get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;;
|
||||||
#---- end pimpmykali-mirrors rev 1.3.2 08.20.2021 ----
|
#---- end pimpmykali-mirrors rev 1.3.2 08.20.2021 ----
|
||||||
|
|
||||||
|
fix_ssh() {
|
||||||
|
echo -e "\n $greenplus Fix SSH set ssh to wide compatibility"
|
||||||
|
outputfile="/etc/ssh/ssh_config.d/kali-wide-compat.conf"
|
||||||
|
if [[ -f $outputfile ]]
|
||||||
|
then
|
||||||
|
echo -e "\n $redexclaim File already exists, not updating..."
|
||||||
|
else
|
||||||
|
echo -e "Host *" > $outputfile
|
||||||
|
echo -e " Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc" >> $outputfile
|
||||||
|
echo -e " KexAlgorithms +diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1" >> $outputfile
|
||||||
|
echo -e " HostKeyAlgorithms +ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-dss,ssh-dss-cert-v01@openssh.com" >> $outputfile
|
||||||
|
echo -e " PubkeyAcceptedAlgorithms +ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-dss,ssh-dss-cert-v01@openssh.com" >> $outputfile
|
||||||
|
echo -e " LocalCommand /bin/echo \"Warning: SSH client configured for wide compatibility by kali-tweaks.\"" >> $outputfile
|
||||||
|
echo -e " PermitLocalCommand yes" >> $outputfile
|
||||||
|
echo -e "\n $greenplus File : /etc/ssh/ssh_config.d/kali-wide-compat.conf - created"
|
||||||
|
echo -e "\n $greenplus Restarting SSH Service..."
|
||||||
|
systemctl restart ssh
|
||||||
|
echo -e "\n $greenplus Fix SSH - Complete"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# ascii art - DONT move
|
# ascii art - DONT move
|
||||||
asciiart=$(base64 -d <<< "H4sIAAAAAAAAA31QQQrCQAy89xVz9NR8QHoQH+BVCATBvQmC
|
asciiart=$(base64 -d <<< "H4sIAAAAAAAAA31QQQrCQAy89xVz9NR8QHoQH+BVCATBvQmC
|
||||||
CEXI480kXdteTJfdzGQy2S3wi9EM/2MnSDm3oUoMuJlX3hmsMMSjA4uAtUTsSQ9NUkkKVgKKBX
|
CEXI480kXdteTJfdzGQy2S3wi9EM/2MnSDm3oUoMuJlX3hmsMMSjA4uAtUTsSQ9NUkkKVgKKBX
|
||||||
|
|
@ -1546,28 +1568,26 @@ pimpmykali_menu () {
|
||||||
0) fix_all; run_update; virt_what; check_vm;;
|
0) fix_all; run_update; virt_what; check_vm;;
|
||||||
!) forced=1; fix_sead_warning;;
|
!) forced=1; fix_sead_warning;;
|
||||||
a|A) mapt_prereq;;
|
a|A) mapt_prereq;;
|
||||||
|
b|B) fix_bloodhound;; # was bpt;;
|
||||||
|
c|C) check_chrome;;
|
||||||
f|F) fix_broken_xfce;;
|
f|F) fix_broken_xfce;;
|
||||||
s|S) fix_spike;;
|
|
||||||
g|G) fix_root_connectionrefused ;;
|
g|G) fix_root_connectionrefused ;;
|
||||||
h|H) fix_httprobe;;
|
h|H) fix_httprobe;;
|
||||||
i|I) fix_mitm6;;
|
i|I) fix_mitm6;;
|
||||||
c|C) check_chrome;;
|
k|K) sudo dpkg-reconfigure keyboard-configuration; echo -e "\n $greenplus Keyboard now set to: $(cat /etc/default/keyboard | grep XKBLAYOUT | cut -d "\"" -f2)";;
|
||||||
|
l|L) install_sublime;;
|
||||||
|
m|M) mayor_mpp;;
|
||||||
|
n|N) fix_all; fix_upgrade;;
|
||||||
|
o|O) fix_ssh;;
|
||||||
|
p|P) fix_python39;; # revision 1.5.5
|
||||||
|
r|R) fix_responder;; # revision 1.5.5
|
||||||
|
s|S) fix_spike;;
|
||||||
|
t|T) sudo dpkg-reconfigure tzdata; echo -e "\n $greenplus Timezone now set to: $(cat /etc/timezone)";;
|
||||||
v|V) install_vscode;;
|
v|V) install_vscode;;
|
||||||
w|W) fix_gowitness;;
|
w|W) fix_gowitness;;
|
||||||
n|N) fix_all; fix_upgrade;;
|
|
||||||
# d|D) downgrade_msf;;
|
|
||||||
b|B) fix_bloodhound;; # was bpt;;
|
|
||||||
r|R) fix_responder;; # revision 1.5.5
|
|
||||||
p|P) fix_python39;; # revision 1.5.5
|
|
||||||
m|M) mayor_mpp;;
|
|
||||||
l|L) install_sublime;;
|
|
||||||
"=") get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;;
|
"=") get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;;
|
||||||
t|T) sudo dpkg-reconfigure tzdata; echo -e "\n $greenplus Timezone now set to: $(cat /etc/timezone)";;
|
|
||||||
k|K) sudo dpkg-reconfigure keyboard-configuration; echo -e "\n $greenplus Keyboard now set to: $(cat /etc/default/keyboard | grep XKBLAYOUT | cut -d "\"" -f2)";;
|
|
||||||
# h|H) fix_theharvester ;;
|
|
||||||
# q|Q) fix_qterminal_history;; # cant change settings of qterminal while in qterminal... find a fix
|
|
||||||
x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;;
|
x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;;
|
||||||
*) pimpmykali_menu ;;
|
*) pimpmykali_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue