mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
nse_check_globals cleanup
This commit is contained in:
parent
4d5c3e4875
commit
20555b7988
1 changed files with 2 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ function process_answer( tbl )
|
|||
local password = get_value_from_table( tbl, oldobjid )
|
||||
|
||||
if ( password == nil ) or ( #password == 0 ) then
|
||||
newobjid = v.oid:gsub( "^" .. hh3cUserName, hh3cUserPassword)
|
||||
local newobjid = v.oid:gsub( "^" .. hh3cUserName, hh3cUserPassword)
|
||||
password = get_value_from_table( tbl, newobjid )
|
||||
end
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ function process_answer( tbl )
|
|||
local level = get_value_from_table( tbl, oldobjid )
|
||||
|
||||
if ( level == nil ) then
|
||||
newobjoid = v.oid:gsub( "^" .. hh3cUserName, hh3cUserLevel)
|
||||
local newobjoid = v.oid:gsub( "^" .. hh3cUserName, hh3cUserLevel)
|
||||
level = get_value_from_table( tbl, oldobjid )
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue