1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 01:19:03 +00:00

Fixes bug that prevented the script to generate a vulnerability report. Closes #1220

This commit is contained in:
paulino
2018-05-26 21:10:36 +00:00
parent 3eca5e285c
commit fc3062b674
2 changed files with 4 additions and 1 deletions

View File

@@ -74,6 +74,6 @@ to bypass the removal of "../" directory traversal sequences.
if detection_session and detection_session.status == 200 then
vuln.state = vulns.STATE.EXPLOIT
stdnse.debug1(detection_session.body)
return vuln_report:make_output(detection_session.body)
return vuln_report:make_output(vuln)
end
end