Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Update to display vuln obj to user for CVE2006-3392 #1220
Previously, the function would return vuln_report:make_output(detection_session.body).
The expected output is that the nmap scan finishes and shows the "vuln" structure (title, state, IDs, description) if the instance is vulnerable.
This was not the case when run against a vulnerable instance (pwnOs1 vulnerable VM). The nmap script would finish and not display anything to the user unless --script-trace or -d flags were set.
After updating make_output to make_output(vuln), the finished nmap scan correctly displays the vuln structure after completion.
A further enhancement could be made to add detection_session.body to the vuln obj.