Nmap: Difference between revisions

From Cramsession
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials
No edit summary
No edit summary
Line 3: Line 3:


  sudo su
  sudo su
  nmap ''network''/''mask'' -oN hosts.txt
  nmap -sn ''network''/''mask'' -oN hosts.txt
 
* sn prevents a port scan of hosts

Revision as of 01:12, 10 December 2024

Simple NMAP scan of the network

sudo su
nmap -sn network/mask -oN hosts.txt
  • sn prevents a port scan of hosts