mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix nil value reference
This commit is contained in:
parent
58d44f8437
commit
4152af8eb1
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ portrule = shortport.http
|
|||
|
||||
action = function(host, port)
|
||||
local response = http.get(host, port, "/", { redirect_ok = false, no_cache = true })
|
||||
local server = response.header and response.header['server']
|
||||
local server = response.header and response.header['server'] or ""
|
||||
local vuln_table = {
|
||||
title = "Firmware backdoor in some models of D-Link routers allow for admin password bypass",
|
||||
state = vulns.STATE.NOT_VULN,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue