Skip to content

Commit 862b813

Browse files
committed
Auxiliary::Web: fixed confidence calc in log methods
1 parent f2cf430 commit 862b813

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)