mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Add permissions to openscmanagerw() in msrpc.lua, allowing the caller to specify the permissions they need.
This commit is contained in:
@@ -872,7 +872,7 @@ action = function(host, port)
|
||||
-- Open the service manager
|
||||
stdnse.debug2("Opening the remote service manager")
|
||||
|
||||
status, open_result = msrpc.svcctl_openscmanagerw(smbstate, host.ip)
|
||||
status, open_result = msrpc.svcctl_openscmanagerw(smbstate, host.ip, 0x02000000)
|
||||
|
||||
if(status == false) then
|
||||
smb.stop(smbstate)
|
||||
|
||||
Reference in New Issue
Block a user