1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-11 02:09:03 +00:00

Corrected a spelling. Had misspelt JSON as J0SON.

This commit is contained in:
gyani
2016-02-10 20:07:35 +00:00
parent 3da6feda13
commit cf326ea74f

View File

@@ -126,7 +126,7 @@ action = function(host, port)
if response.status == 200 and response.body then if response.status == 200 and response.body then
local status, parsed = json.parse(response.body) local status, parsed = json.parse(response.body)
if not(status) then if not(status) then
stdnse.debug1('Parsing J0SON failed(version checking). Probably not running Elasticsearch') stdnse.debug1('Parsing JSON failed(version checking). Probably not running Elasticsearch')
return nil return nil
else else
if parsed.version.number then if parsed.version.number then