User Tools

Site Tools


software:nmap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:nmap [2019/12/27 22:02] – [broadcast-dns-service-discovery] superwizardsoftware:nmap [2022/07/13 19:48] (current) – [output the scan to file with all of those formats] superwizard
Line 1: Line 1:
 +====== regular scan ======
 +
 +<WRAP center round box >
 +
 +2020-08-28
 +
 +    nmap  10.9.8.1
 +
 +</WRAP>
 +
 +
 +
 +====== output the scan to file with all of those formats ======
 +
 +<WRAP center round box >
 +
 +2020-07-21
 +
 +    nmap -oA c:\temp\nmap-broadcast-dhcp-discover-2020-07-21 --script=broadcast-dhcp-discover 10.9.0.0/16
 +    nmap -sU -p 67 --script dhcp-discover 10.230.0.2/32
 +
 +Result stored in three files of type grep xml and text
 +    nmap -oA c:\temp\nmap-broadcast-dhcp-discover-2020-07-21 --script=broadcast-dhcp-discover 10.9.0.0/16
 +
 +Now, what if you want to output the scan to all of those formats? XML, text, and grepable? Simple! Use: 
 +   nmap -oA test 10.73.31.1. 
 +   
 +Now if I use ls -l test.* I’ll see all of the newly created files. gnmap is Grep, XML is XML, and .nmap is a text file.
 +
 +From <https://www.hak5.org/episodes/haktip-103> 
 +</WRAP>
 +
 +
 +
 +
 ====== Broadcast Scripts ====== ====== Broadcast Scripts ======
  
 From: https://nmap.org/nsedoc/categories/broadcast.html From: https://nmap.org/nsedoc/categories/broadcast.html
  
-   Attempts to discover available IPv6 hosts on the LAN by sending an MLD (multicast listener discovery) query to   he link-local multicast address (ff02::1) and listening for any responses. The query's maximum response delay set to 1 to provoke hosts to respond immediately rather than waiting for other responses from their multicast group.+<WRAP center round box > 
 +Attempts to discover available IPv6 hosts on the LAN by sending an MLD (multicast listener discovery) query to   he link-local multicast address (ff02::1) and listening for any responses. The query's maximum response delay set to 1 to provoke hosts to respond immediately rather than waiting for other responses from their multicast group. 
 + 
 +</WRAP> 
 + 
 + 
 +<WRAP center round box > 
 + 
 +description =  
 +Sends an ICMPv6 echo request packet to the all-nodes link-local 
 +multicast address 
 +<code>ff02::1</code> 
 +to discover responsive hosts 
 +on a LAN without needing to individually ping each IPv6 address. 
 + 
 + 
 +--- 
 +-- @usage 
 +-- ./nmap -6 --script=targets-ipv6-multicast-echo.nse --script-args 'newtargets,interface=eth0' -sL 
 +-- @output 
 + 
 + 
 +From: https://svn.nmap.org/nmap/scripts/targets-ipv6-multicast-echo.nse 
 +</WRAP> 
 + 
 +====== Ubiquiti Scan ====== 
 + 
 + 
 +nmap -sU -p 10001 --script ubiquiti-discovery.nse <target> 
 + 
 +From <https://nmap.org/nsedoc/scripts/ubiquiti-discovery.html> 
  
  
software/nmap.1577484140.txt.gz · Last modified: 2019/12/27 22:02 by superwizard