1) passwd (type twice)
2) apt-get update | apt-get upgrade | apt-get dist-upgrade |
#Custom script
#!/bin/bash
set -e
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
cd /etc/ssh
ls
mkdir old_keys
mv ssh_host_* /etc/ssh/old_keys
ls old_keys
dpkg-reconfigure openssh-server
md5sum ssh_host_*
md5sum /etc/ssh/old_keys/ssh_host_*
adduser
usermod -a -G sudo redcliff
adduser redcliff sudo
sudo apt install seclists curl enum4linux feroxbuster impacket-scripts nbtscan nikto nmap onesixtyone oscanner redis-tools smbclient smbmap snmp sslscan sipvicious tnscmd10g whatweb wkhtmltopdf
sudo apt-get upgrade metasploit-framework
searchsploit -u
sudo apt install -y docker.io
sudo systemctl enable docker --now
sudo apt install golang
go install github.com/hakluke/hakrawler@latest
sudo apt update
sudo apt install fuse3
sudo apt -y --reinstall open-vm-tools-desktop fuse3
sudo setxkbmap it
#not persistent across reboots
sudo yum install xorg-x11-xkb-utils
#wazuh Centos specific