mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Fixed typo in ms-sql-xp-cmdshell.cmd argument. Changed from mssql-xp-cmdshell
to ms-sql-xp-cmdshell. [Patrik]
This commit is contained in:
@@ -85,7 +85,7 @@ action = function( host, port )
|
||||
local password = nmap.registry.args['mssql.password'] or ""
|
||||
local creds
|
||||
local query
|
||||
local cmd = nmap.registry.args['mssql-xp-cmdshell.cmd'] or 'ipconfig /all'
|
||||
local cmd = nmap.registry.args['ms-sql-xp-cmdshell.cmd'] or 'ipconfig /all'
|
||||
local output = {}
|
||||
|
||||
query = ("EXEC master..xp_cmdshell '%s'"):format(cmd)
|
||||
|
||||
Reference in New Issue
Block a user