mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +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:
parent
21ee742ca3
commit
3f15b93e98
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue