Skip to content

Commit 7b8654a

Browse files
committed
Revert "Merge pull request rapid7#1534 from tasos-r7/bugfix/web-vuln-confidence"
This reverts commit 3840ddc, reversing changes made to e1891f0.
1 parent 3840ddc commit 7b8654a

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 => calculate_confidence( parent.vulns[mode][vhash] ),
182+
:confidence => details[:category] || opts[:confidence] || 100,
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 => calculate_confidence( parent.vulns[mode][vhash] ),
214+
:confidence => details[:category] || opts[:confidence] || 100,
215215
:owner => self
216216
}
217217

0 commit comments

Comments
 (0)