1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Add some cross-references to NSEdoc for recent scripts

This commit is contained in:
dmiller
2017-06-14 21:22:52 +00:00
parent 78f650b5e5
commit ea1556c04a
4 changed files with 18 additions and 11 deletions

View File

@@ -55,6 +55,7 @@ by it will be checked in addition to the root.
-- </table> -- </table>
-- --
-- @see http-enum.nse -- @see http-enum.nse
-- @see http-security-headers.nse
categories = { "default", "safe", "vuln" } categories = { "default", "safe", "vuln" }
author = "Steve Benson" author = "Steve Benson"

View File

@@ -24,6 +24,8 @@ Performs a HEAD request for the root folder ("/") of a web server and displays t
-- --
--@args path The path to request, such as <code>/index.php</code>. Default <code>/</code>. --@args path The path to request, such as <code>/index.php</code>. Default <code>/</code>.
--@args useget Set to force GET requests instead of HEAD. --@args useget Set to force GET requests instead of HEAD.
--
--@see http-security-headers.nse
author = "Ron Bowes" author = "Ron Bowes"

View File

@@ -14,6 +14,8 @@ https://github.com/countercept/doublepulsar-detection-script
--- ---
-- @usage nmap -p 445 <target> --script=smb-double-pulsar-backdoor -- @usage nmap -p 445 <target> --script=smb-double-pulsar-backdoor
-- --
-- @see smb-vuln-ms17-010.nse
--
-- @output -- @output
-- | smb-double-pulsar-backdoor: -- | smb-double-pulsar-backdoor:
-- | VULNERABLE: -- | VULNERABLE:

View File

@@ -5,7 +5,7 @@ local string = require "string"
description = [[ description = [[
Attempts to detect if a Microsoft SMBv1 server is vulnerable to a remote code Attempts to detect if a Microsoft SMBv1 server is vulnerable to a remote code
execution vulnerability (ms17-010). execution vulnerability (ms17-010, a.k.a. EternalBlue).
The script connects to the $IPC tree, executes a transaction on FID 0 and The script connects to the $IPC tree, executes a transaction on FID 0 and
checks if the error "STATUS_INSUFF_SERVER_RESOURCES" is returned to checks if the error "STATUS_INSUFF_SERVER_RESOURCES" is returned to
@@ -26,6 +26,8 @@ References:
-- @usage nmap -p445 --script smb-vuln-ms17-010 <target> -- @usage nmap -p445 --script smb-vuln-ms17-010 <target>
-- @usage nmap -p445 --script vuln <target> -- @usage nmap -p445 --script vuln <target>
-- --
-- @see smb-double-pulsar-backdoor.nse
--
-- @output -- @output
-- Host script results: -- Host script results:
-- | smb-vuln-ms17-010: -- | smb-vuln-ms17-010:
@@ -157,7 +159,7 @@ action = function(host,port)
description = [[ description = [[
A critical remote code execution vulnerability exists in Microsoft SMBv1 A critical remote code execution vulnerability exists in Microsoft SMBv1
servers (ms17-010). servers (ms17-010).
]], ]],
references = { references = {
'https://technet.microsoft.com/en-us/library/security/ms17-010.aspx', 'https://technet.microsoft.com/en-us/library/security/ms17-010.aspx',
'https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/' 'https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/'