SSH
banner grabbing using netcat
service versioning using nmap
ssh2-enum-algos --script with nmap for algorithm enum for keys
ssh-hostkey --script-args ssh_hostkey=full
ssh-auth-methods --script-args "ssh.user=student"
nmap -p 22 -sV 192.241.98.3 --script ssh-run --script-args="ssh-run.cmd=cat /home/student/FLAG , ssh-run.username=student, ssh-run.password="
Last updated