software:nmap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:nmap [2020/07/21 17:46] – [Broadcast Scripts] superwizard | software: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 | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
====== output the scan to file with all of those formats ====== | ====== output the scan to file with all of those formats ====== | ||
Line 5: | Line 17: | ||
2020-07-21 | 2020-07-21 | ||
- | nmap -oA c: | + | nmap -oA c: |
+ | nmap -sU -p 67 --script dhcp-discover 10.230.0.2/ | ||
Result stored in three files of type grep xml and text | Result stored in three files of type grep xml and text | ||
- | nmap -oA c: | + | nmap -oA c: |
Now, what if you want to output the scan to all of those formats? XML, text, and grepable? Simple! Use: | Now, what if you want to output the scan to all of those formats? XML, text, and grepable? Simple! Use: | ||
Line 14: | Line 27: | ||
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. | 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 < | From < | ||
+ | </ | ||
Line 28: | Line 41: | ||
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' | 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' | ||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP center round box > | ||
+ | |||
+ | description = | ||
+ | Sends an ICMPv6 echo request packet to the all-nodes link-local | ||
+ | multicast address | ||
+ | < | ||
+ | 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 ' | ||
+ | -- @output | ||
+ | |||
+ | |||
+ | From: https:// | ||
</ | </ | ||
software/nmap.1595353611.txt.gz · Last modified: 2020/07/21 17:46 by superwizard