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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user