mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 14:39:03 +00:00
Fixed a potential global variable mistake in smb-server-stats.nse
This commit is contained in:
@@ -3461,6 +3461,8 @@ end
|
||||
-- about the server.
|
||||
function get_server_stats(host)
|
||||
local stats
|
||||
local status
|
||||
local smbstate
|
||||
|
||||
-- Create the SMB session
|
||||
status, smbstate = start_smb(host, SRVSVC_PATH)
|
||||
|
||||
Reference in New Issue
Block a user