mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fixed a bunch of errors reported by Ron Bowes;
http://seclists.org/nmap-dev/2012/q2/639
This commit is contained in:
parent
ceaa65a0f4
commit
b7f648bcac
3 changed files with 4 additions and 2 deletions
|
|
@ -521,3 +521,5 @@ Helper = {
|
|||
end,
|
||||
|
||||
}
|
||||
|
||||
return _ENV;
|
||||
|
|
@ -121,7 +121,7 @@ XMPP = {
|
|||
options = options or {},
|
||||
auth = { mechs = {} } }
|
||||
o.options.timeout = o.options.timeout and o.options.timeout or 10
|
||||
o.servername = host.targetname or o.options.servername
|
||||
o.servername = stdnse.get_hostname(host) or o.options.servername
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
return o
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ action = function(host, port)
|
|||
-- get our data
|
||||
afp_proto = afp.Proto:new( { socket=socket } )
|
||||
|
||||
response = afp_proto:fp_get_server_info( socket )
|
||||
local response = afp_proto:fp_get_server_info( socket )
|
||||
response = response.result
|
||||
|
||||
-- all the server information is output in the order it occurs in the server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue