February 2015
Beginner to intermediate
244 pages
4h 37m
English
The vulns NSE library provides a set of useful functions for vulnerability management. Its purpose is to offer developers a common interface for storing and reporting vulnerabilities. The vulnerabilities are stored in the Nmap registry and can be accessed by other scripts during runtime. The library also helps keep track of all states of the vulnerabilities. The states are represented by the following string constants defined in the library:
vulns.STATE.NOT_VULNvulns.STATE.LIKELY_VULNvulns.STATE.VULNvulns.STATE.DoSvulns.STATE.EXPLOITVulnerability reports are passed to the library as Lua tables. A vulnerability table needs two mandatory fields: title and state, but there are several other optional fields; some of them, ...
Read now
Unlock full access