Skip to content

Commit 3840ddc

Browse files
committed
Merge pull request rapid7#1534 from tasos-r7/bugfix/web-vuln-confidence
Auxiliary::Web: fixed confidence calculation in log methods
2 parents e1891f0 + 862b813 commit 3840ddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/auxiliary/web.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def log_fingerprint( opts = {} )
179179
:blame => details[:blame],
180180
:category => details[:category],
181181
:description => details[:description],
182-
:confidence => details[:category] || opts[:confidence] || 100,
182+
:confidence => calculate_confidence( parent.vulns[mode][vhash] ),
183183
:owner => self
184184
}
185185

@@ -211,7 +211,7 @@ def log_resource( opts = {} )
211211
:blame => details[:blame],
212212
:category => details[:category],
213213
:description => details[:description],
214-
:confidence => details[:category] || opts[:confidence] || 100,
214+
:confidence => calculate_confidence( parent.vulns[mode][vhash] ),
215215
:owner => self
216216
}
217217

0 commit comments

Comments
 (0)