Published February 3, 2015 What version of Centos is my server running? This post shows how to find out what version of Centos you are running from the command line. tail /etc/redhat-release This will […]
Published January 17, 2022 nmap quick guide nmap -sT targetIP/hostname nmap –script vuln targetIP/hostname -O trys to identify Operating System, example nmap -sT -O targetIP/hostnam
Published July 8, 2022 How to Open Port for a Specific IP Address in Firewalld The best way is to create a new firewalld zone and we add the specific IP to that zone. To start with […]
Published November 19, 2020 SSH Notifications via email IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)”HOSTNAME=$(hostname)NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on […]