mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 00:19:01 +00:00
Add @output sections to these scripts:
dns-recursion.nse snmp-brute.nse daytime.nse x11-access.nse smb-enum-domains.nse dns-random-txid.nse p2p-conficker.nse jdwp-version.nse dns-random-srcport.nse sshv1.nse ms-sql-info.nse Some of these just needed fixed NSEDoc syntax.
This commit is contained in:
@@ -5,6 +5,12 @@ author = "Brandon Enright"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"default", "safe"}
|
||||
|
||||
---
|
||||
-- @output
|
||||
-- PORT STATE SERVICE
|
||||
-- 22/tcp open ssh
|
||||
-- |_sshv1: Server supports SSHv1
|
||||
|
||||
require "shortport"
|
||||
|
||||
portrule = shortport.port_or_service(22, "ssh")
|
||||
|
||||
Reference in New Issue
Block a user