mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +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
|
||||
local status, parsed = json.parse(response.body)
|
||||
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
|
||||
else
|
||||
if parsed.version.number then
|
||||
|
||||
Reference in New Issue
Block a user