Difference between revisions of "Nmap"

From Steak Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
===Ping Lan Address Range and Report who is Active===
 
===Ping Lan Address Range and Report who is Active===
 
  $ nmap -sP 192.168.1.1/24
 
  $ nmap -sP 192.168.1.1/24
 
This commonly used.
 
  
 
===Get DHCP Servers in LAN===
 
===Get DHCP Servers in LAN===
 
  $ sudo nmap --script broadcast-dhcp-discover -e eth0
 
  $ sudo nmap --script broadcast-dhcp-discover -e eth0

Revision as of 00:55, 11 August 2020

Ping Lan Address Range and Report who is Active

$ nmap -sP 192.168.1.1/24

Get DHCP Servers in LAN

$ sudo nmap --script broadcast-dhcp-discover -e eth0