1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Replace references to stdnse.strjoin with stringaux.strjoin. See #1720

This commit is contained in:
nnposter
2019-09-01 02:07:19 +00:00
parent 96bb8f9bc2
commit be409657c2
2 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
#Nmap Changelog ($Id$); -*-text-*- #Nmap Changelog ($Id$); -*-text-*-
o [NSE][GH#1720] Functions lsa_lookupnames2 and lsa_lookupsids2 in library
msrpc were causing an error when called with debug level 2 or higher.
[Ivan Ivanov]
o [NSE] New script, dicom-brute.nse, attempts to brute force the called o [NSE] New script, dicom-brute.nse, attempts to brute force the called
Application Entity Title of DICOM servers. [Paulino Calderon] Application Entity Title of DICOM servers. [Paulino Calderon]

View File

@@ -59,6 +59,7 @@ local os = require "os"
local smb = require "smb" local smb = require "smb"
local stdnse = require "stdnse" local stdnse = require "stdnse"
local string = require "string" local string = require "string"
local stringaux = require "stringaux"
local table = require "table" local table = require "table"
local unicode = require "unicode" local unicode = require "unicode"
_ENV = stdnse.module("msrpc", stdnse.seeall) _ENV = stdnse.module("msrpc", stdnse.seeall)
@@ -2165,7 +2166,7 @@ function lsa_lookupnames2(smbstate, policy_handle, names)
local result local result
local pos, align local pos, align
stdnse.debug2("MSRPC: Calling LsarLookupNames2(%s) [%s]", stdnse.strjoin(", ", names), smbstate['ip']) stdnse.debug2("MSRPC: Calling LsarLookupNames2(%s) [%s]", stringaux.strjoin(", ", names), smbstate['ip'])
-- [in] policy_handle *handle, -- [in] policy_handle *handle,
@@ -2256,7 +2257,7 @@ function lsa_lookupsids2(smbstate, policy_handle, sids)
local result local result
local pos, align local pos, align
stdnse.debug2("MSRPC: Calling LsarLookupSids2(%s) [%s]", stdnse.strjoin(", ", sids), smbstate['ip']) stdnse.debug2("MSRPC: Calling LsarLookupSids2(%s) [%s]", stringaux.strjoin(", ", sids), smbstate['ip'])
-- [in] policy_handle *handle, -- [in] policy_handle *handle,
arguments = msrpctypes.marshall_policy_handle(policy_handle) arguments = msrpctypes.marshall_policy_handle(policy_handle)