mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Add @usage nsedoc to UDP scripts (default is missing -sU in this case)
This commit is contained in:
@@ -39,6 +39,8 @@ Some of the more useful fields:
|
||||
-- cause the router to reserve a new IP address each time.
|
||||
-- @args requests Set to an integer to make up to that many requests (and display the results).
|
||||
--
|
||||
-- @usage
|
||||
-- nmap -sU -p 67 --script=dhcp-discover <target>
|
||||
-- @output
|
||||
-- Interesting ports on 192.168.1.1:
|
||||
-- PORT STATE SERVICE
|
||||
|
||||
@@ -25,6 +25,8 @@ porttest.dns-oarc.net: Duane Wessels <wessels@dns-oarc.net>
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 53 --script=dns-random-srcport <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 53/udp open domain udp-response
|
||||
|
||||
@@ -25,6 +25,8 @@ txidtest.dns-oarc.net: Duane Wessels <wessels@dns-oarc.net>
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 53 --script=dns-random-txid <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 53/udp open domain udp-response
|
||||
|
||||
@@ -11,6 +11,8 @@ nameservers.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 53 --script=dns-recursion <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 53/udp open domain udp-response
|
||||
|
||||
@@ -13,6 +13,8 @@ license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"discovery", "safe"}
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 53 --script=dns-update <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE
|
||||
-- 53/udp open domain
|
||||
|
||||
@@ -20,6 +20,10 @@ See http://sourceforge.net/projects/gameq/
|
||||
(relevant files: games.ini, packets.ini, freelancer.php)
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -sV -p 2302 <target>
|
||||
-- nmap -sU -p 2302 --script=freelancer-info <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON VERSION
|
||||
-- 2302/udp open freelancer udp-response Freelancer (name: Discovery Freelancer RP 24/7; players: 152/225; password: no)
|
||||
|
||||
@@ -10,6 +10,8 @@ The script sends an Inter-Asterisk eXchange (IAX) Revision 2 Control Frame POKE
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -sV -p 4569 <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE VERSION
|
||||
-- 4569/udp closed iax2
|
||||
|
||||
@@ -13,6 +13,10 @@ Obtains information (such as vendor and device type where available) from an IKE
|
||||
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -sV -p 500 <target>
|
||||
-- nmap -sU -p 500 --script ike-version <target>
|
||||
--
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON VERSION
|
||||
-- 500/udp open isakmp udp-response Cisco VPN Concentrator 3000 4.0.7
|
||||
|
||||
@@ -17,6 +17,8 @@ http://www.lexmark.com/vgn/images/portal/Security%20Features%20of%20Lexmark%20MF
|
||||
|
||||
|
||||
---
|
||||
--@usage
|
||||
-- nmap -sU -p 9100 --script=lexmark-config <target>
|
||||
--@output
|
||||
-- Interesting ports on 192.168.1.111:
|
||||
-- PORT STATE SERVICE REASON
|
||||
|
||||
@@ -31,6 +31,7 @@ the server.
|
||||
See http://mumble.sourceforge.net/Protocol.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @output
|
||||
-- PORT STATE SERVICE VERSION
|
||||
-- 64740/tcp open murmur Murmur 1.2.4 (control port; users: 35; max. users: 100; bandwidth: 72000 b/s)
|
||||
|
||||
@@ -17,6 +17,10 @@ The NAT-PMP protocol is supported by a broad range of routers including:
|
||||
- Peplink Balance
|
||||
]]
|
||||
|
||||
---
|
||||
--@usage
|
||||
-- nmap -sU -p 5351 --script=nat-pmp-info <target>
|
||||
|
||||
author = "Patrik Karlsson"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"default", "discovery", "safe"}
|
||||
|
||||
@@ -32,6 +32,9 @@ These access permissions are shown only with NFSv3:
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -p 111 --script=nfs-ls <target>
|
||||
-- nmap -sV --script=nfs-ls <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE
|
||||
-- 111/tcp open rpcbind
|
||||
|
||||
@@ -15,6 +15,9 @@ the version used is NFSv3.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -p 111 --script=nfs-statfs <target>
|
||||
-- nmap -sV --script=nfs-statfs <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE
|
||||
-- | nfs-statfs:
|
||||
|
||||
@@ -21,6 +21,8 @@ documentation of the protocol.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 123 --script ntp-info <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE VERSION
|
||||
-- 123/udp open ntp NTP v4
|
||||
|
||||
@@ -11,6 +11,8 @@ Queries Quake3-style master servers for game servers (many games other than Quak
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 27950 --script=quake3-master-getservers <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 27950/udp open quake3-master
|
||||
|
||||
@@ -15,6 +15,8 @@ http://arc.opensolaris.org/caselog/PSARC/2006/638/ServiceTag_API_CLI_v07.pdf
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 6481 --script=servicetags <target>
|
||||
-- @output
|
||||
-- | servicetags:
|
||||
-- | URN: urn:st:3bf76681-5e68-415b-f980-abcdef123456
|
||||
|
||||
@@ -20,6 +20,8 @@ successfully added.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 161 --script=snmp-interfaces <target>
|
||||
-- @args snmp-interfaces.host Specifies the SNMP server to probe when
|
||||
-- running in the "pre-scanning phase".
|
||||
-- @args snmp-interfaces.port The optional port number corresponding
|
||||
|
||||
@@ -13,6 +13,8 @@ newtargets script argument.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 161 --script=snmp-netstat <target>
|
||||
-- @output
|
||||
-- | snmp-netstat:
|
||||
-- | TCP 0.0.0.0:21 0.0.0.0:2256
|
||||
|
||||
@@ -9,6 +9,8 @@ Attempts to enumerate running processes through SNMP.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 161 --script=snmp-processes <target>
|
||||
-- @output
|
||||
-- | snmp-processes:
|
||||
-- | System Idle Process
|
||||
|
||||
@@ -9,6 +9,8 @@ Attempts to enumerate Windows services through SNMP.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 161 --script=snmp-win32-services <target>
|
||||
-- @output
|
||||
-- | snmp-win32-services:
|
||||
-- | Apache Tomcat
|
||||
|
||||
@@ -9,6 +9,8 @@ Attempts to enumerate Windows Shares through SNMP.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 161 --script=snmp-win32-shares <target>
|
||||
-- @output
|
||||
-- | snmp-win32-shares:
|
||||
-- | SYSVOL
|
||||
|
||||
@@ -10,6 +10,8 @@ Attempts to enumerate installed software through SNMP.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 161 --script=snmp-win32-software <target>
|
||||
-- @output
|
||||
-- | snmp-win32-software:
|
||||
-- | Apache Tomcat 5.5 (remove only); 2007-09-15 15:13:18
|
||||
|
||||
@@ -9,6 +9,8 @@ Attempts to enumerate Windows user accounts through SNMP
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 161 --script=snmp-win32-users <target>
|
||||
-- @output
|
||||
-- | snmp-win32-users:
|
||||
-- | Administrator
|
||||
|
||||
@@ -8,6 +8,8 @@ information from the response, if the server attribute is present.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -sV -p 3478 <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE VERSION
|
||||
-- 3478/udp open stun Vovida.org 0.96
|
||||
|
||||
@@ -12,6 +12,9 @@ A single UDP packet (a login request) is sent. If the server does not have a
|
||||
password set, the exact version, name, and OS type will also be reported on.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -sV -p 8767 <target>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON VERSION
|
||||
-- 8767/udp open teamspeak2 script-set TeamSpeak 2.0.23.19 (name: COWCLANS; no password)
|
||||
|
||||
@@ -9,6 +9,8 @@ Attempts to extract system information from the UPnP service.
|
||||
]]
|
||||
|
||||
---
|
||||
-- @usage
|
||||
-- nmap -sU -p 1900 --script=upnp-info <target>
|
||||
-- @output
|
||||
-- | upnp-info: System/1.0 UPnP/1.0 IGD/1.0
|
||||
-- |_ Location: http://192.168.1.1:80/UPnP/IGD.xml
|
||||
|
||||
Reference in New Issue
Block a user