Comments (2)
Hi,
I know this issue is a little dated but I came across the same problem as well and started digging around the script to find out what might cause this. Basically, there is this if block in the vulners.nse script:
if v.is_exploit or (v.cvss and mincvss <= v.cvss) then
setmetatable(v, cve_meta)
output[#output+1] = v
end
The problem is in the if statement where it says "if v.is_exploit", this effectively overrides mincvss argument that you pass while running nmap with vulners script. The reason is that they probably don't want you to miss any exploitable vulnerabilities, which is quite understandable. However, if you can find where vulners.nse is located on your machine (/path/to/nmap/scripts/vulners.nse for Linux/MacOS machines) and modify this if block in the following way, it should solve the issue:
if v.cvss and mincvss <= v.cvss then
setmetatable(v, cve_meta)
output[#output+1] = v
end
Hope this helps.
Cheers,
Burak
from nmap-vulners.
Dear @mavzerburak0 ,
I added this "patch" to my vulners.nse, and it works much better now.
Thank you for your help!
from nmap-vulners.
Related Issues (20)
- Vulners
- False positives: IIS 10.0 HOT 1
- Authentication failure HOT 1
- Having problems when running vulscan command
- Scripts error HOT 2
- openssh false positive vulnerabilties. HOT 2
- No CVE output kali 2021 HOT 5
- Script Engine Initialization Issues -- Debian
- Xc
- Encountered a false positive
- -
- Nmap Vulnerability
- Nmap
- Does this auto-update? HOT 1
- Windows nmap script
- nmap: vuln scanner [C]: in function 'error' HOT 2
- Minor issue - Typo
- API KEY from https://vulners.com/userinfo?tab=api-keys
- Vulners FREE API - Anomaly with user agent HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmap-vulners.