Skip to content

Commit 99a8ec5

Browse files
committed
Fixing merge conflicts
1 parent 7b8654a commit 99a8ec5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/msf/core/auxiliary/web.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,11 @@ def log_fingerprint( opts = {} )
179179
:blame => details[:blame],
180180
:category => details[:category],
181181
:description => details[:description],
182-
:confidence => details[:category] || opts[:confidence] || 100,
183182
:owner => self
184183
}
185184

185+
info[:confidence] = calculate_confidence( info )
186+
186187
report_web_vuln( info )
187188

188189
print_good " FOUND(#{mode.to_s.upcase}) URL(#{location})"
@@ -211,10 +212,11 @@ def log_resource( opts = {} )
211212
:blame => details[:blame],
212213
:category => details[:category],
213214
:description => details[:description],
214-
:confidence => details[:category] || opts[:confidence] || 100,
215215
:owner => self
216216
}
217217

218+
info[:confidence] = calculate_confidence( info )
219+
218220
report_web_vuln( info )
219221

220222
print_good " VULNERABLE(#{mode.to_s.upcase}) URL(#{target.to_url})"
@@ -278,7 +280,7 @@ def process_vulnerability( element, proof, opts = {} )
278280
report_web_vuln( info )
279281

280282
print_good " VULNERABLE(#{mode.to_s.upcase}) URL(#{target.to_url})" +
281-
" PARAMETER(#{element.altered}) VALUES(#{element.params})"
283+
" PARAMETER(#{element.altered}) VALUES(#{element.params})"
282284
print_good " PROOF(#{proof})"
283285
end
284286

0 commit comments

Comments
 (0)