1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

o Fix a bug in the NSE http library which would cause some scripts to

give the error: SCRIPT ENGINE: C:\Program
  Files\Nmap\nselib/http.lua:77: attempt to call field 'parse' (a nil
  value) [Jah]

Also added Win2K dependencies section to nmap-install (I should have
done a separate checkin for that)
This commit is contained in:
fyodor
2008-09-03 06:22:13 +00:00
parent e30ba96035
commit f67049b2d3
3 changed files with 12 additions and 2 deletions

View File

@@ -73,8 +73,8 @@ end
-- @param url The url of the host.
-- @param options Options passed to http.get.
-- @see http.get
get_url = function(url, options )
local parsed = url.parse( url )
get_url = function( u, options )
local parsed = url.parse( u )
local port = {}
port.service = parsed.scheme