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