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===
+
<small>===Ping Lan Address Range and Report who is Active===
 
  $ nmap -sP 192.168.1.1/24
 
  $ nmap -sP 192.168.1.1/24
  
 
===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
 +
</small>

Revision as of 01:03, 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