mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Move string utility functions to stringaux.lua
This commit is contained in:
@@ -3,6 +3,7 @@ local nmap = require "nmap"
|
||||
local shortport = require "shortport"
|
||||
local stdnse = require "stdnse"
|
||||
local string = require "string"
|
||||
local table = require "table"
|
||||
|
||||
description = [[
|
||||
Checks if hosts are on Google's blacklist of suspected malware and phishing
|
||||
@@ -103,6 +104,6 @@ action = function(host, port)
|
||||
end
|
||||
|
||||
if #output_lns > 0 then
|
||||
return stdnse.strjoin("\n", output_lns)
|
||||
return table.concat(output_lns, "\n")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user