$ sudo nmap -sV -O -R --dns-servers 192.168.0.1 -T4 -vv -oN network_scan.txt 192.168.0.0/24
-sV: service version detection
-O: OS identification
-R: Force reverse DNS lookup for all hosts
--system-dns: Use your system's DNS resolver (often better on home networks)
-T4: Faster scan timing (good balance between speed and accuracy)
-v or -vv: Increase verbosity so you see hostnames as they are discovered
-oN: Then you can open network_scan.txt with any text editor
No comments:
Post a Comment