rev 1.7.4f fix_sshwidecompat function added

This commit is contained in:
Dewalt 2023-08-06 20:52:43 -05:00
parent c226a3bcbb
commit 35a045ebfa
2 changed files with 13 additions and 1 deletions

View File

@ -39,6 +39,10 @@
# Writeups / Honorable Mentions
- ip3c4c_n00b https://ip3c4c.com/2202_homelab_vmware/
# Revision 1.7.4f - ssh wide compatibility function
- added function fix_sshwidecompat
- will be ran in menu options N, 0 or 1
# Revision 1.7.4e - updated fix_cme function with fix_cme_symlinks
- added additional function to create symlinks in ~/.local/bin for cme 6.x.x

View File

@ -9,7 +9,7 @@
# Standard Disclaimer: Author assumes no liability for any damage
# revision var
revision="1.7.4e"
revision="1.7.4f"
# unicorn puke:
red=$'\e[1;31m'
@ -227,6 +227,7 @@ fix_missing() {
fix_sshuttle
fix_chisel
fix_cme # 08.03.2023 - added new CME6.x
fix_ssh_widecompat
#fix_waybackurls # has issues not implemented yet
}
@ -341,6 +342,13 @@ fix_chisel() {
eval apt -y install chisel
}
fix_ssh_widecompat() {
echo -e "\n $greenplus Setting SSH for wide compatibility"
eval cp -f /usr/share/kali-defaults/etc/ssh/ssh_config.d/kali-wide-compat.conf /etc/ssh/ssh_config.d/kali-wide-compat.conf
echo -e "\n $greenplus Restarting SSH service for wide compatibility"
eval systemctl restart ssh
}
fix_cme_symlinks() {
# needs to be a better way than doing this manually for each one
# create a few symlinks to make life easier