mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 13:49:03 +00:00
Fix the indexing of Globals - found with the help of strict.lua and Patrick's
check_globals script. Commented-out two functions which are currently unused: svcctl_Type_tostr() and svcctl_State_tostr() and which call currently unavailable functions: svcctl_Type_str() and svcctl_State_str() (see http://seclists.org/nmap-dev/2009/q3/0194.html )
This commit is contained in:
@@ -660,7 +660,7 @@ function srvsvc_netservergetstatistics(smbstate, server)
|
||||
stdnse.print_debug(2, "MSRPC: Calling NetServerGetStatistics() [%s]", smbstate['ip'])
|
||||
|
||||
-- [in] [string,charset(UTF16)] uint16 *server_unc,
|
||||
arguments = msrpctypes.marshall_unicode_ptr(server_unc, true)
|
||||
arguments = msrpctypes.marshall_unicode_ptr(server, true)
|
||||
|
||||
-- [in] [string,charset(UTF16)] uint16 *service,
|
||||
arguments = arguments .. msrpctypes.marshall_unicode_ptr(service, true)
|
||||
|
||||
Reference in New Issue
Block a user