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
Last revisionBoth sides next revision
software:nmap [2019/12/27 21:47] – [File broadcast-dhcp-discover] superwizardsoftware:nmap [2020/09/29 03:35] – [Broadcast Scripts] 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
 +
 +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 ======
 +
 +From: https://nmap.org/nsedoc/categories/broadcast.html
 +
 +<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> 
 +
 +
 ====== broadcast-dns-service-discovery ====== ====== broadcast-dns-service-discovery ======
  
software/nmap.txt · Last modified: 2022/07/13 19:48 by superwizard