Skip to content

Commit b715bda

Browse files
authored
Merge pull request #69 from josh-thurston/master
Added vulners script info
2 parents 697d791 + e00b27d commit b715bda

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,15 @@ Let's say we want to scan top ports but also perform version detection .
343343
results = nmap.scan_top_ports("host", args="-sV")
344344
```
345345

346+
### Using the nmap vulners script to identify vulnerabilities (CVE's)
347+
You scan the the target IP using version detection ('-sV') to get the service and, the script performs a lookup in the CVE database. The nmap vulners script is part of the default Nmap installation, so you shouldn't need to install any other packages.
348+
349+
```python
350+
import nmap3
351+
nmap = nmap3.Nmap()
352+
ressults = nmap_version_detection("host", args="--script vulners --script-args mincvss+5.0")
353+
```
354+
346355
## Cross-Selling
347356
* [Ethical-tools](https://ethicaltools.gitbook.io/subdomainfinder/)
348357
* [Wappalyzer online](https://www.nmmapper.com/st/cms-detection/wappalyzer-online/)

0 commit comments

Comments
 (0)