File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -179,10 +179,11 @@ def log_fingerprint( opts = {} )
179
179
:blame => details [ :blame ] ,
180
180
:category => details [ :category ] ,
181
181
:description => details [ :description ] ,
182
- :confidence => calculate_confidence ( parent . vulns [ mode ] [ vhash ] ) ,
183
182
:owner => self
184
183
}
185
184
185
+ info [ :confidence ] = calculate_confidence ( info )
186
+
186
187
report_web_vuln ( info )
187
188
188
189
print_good " FOUND(#{ mode . to_s . upcase } ) URL(#{ location } )"
@@ -211,10 +212,11 @@ def log_resource( opts = {} )
211
212
:blame => details [ :blame ] ,
212
213
:category => details [ :category ] ,
213
214
:description => details [ :description ] ,
214
- :confidence => calculate_confidence ( parent . vulns [ mode ] [ vhash ] ) ,
215
215
:owner => self
216
216
}
217
217
218
+ info [ :confidence ] = calculate_confidence ( info )
219
+
218
220
report_web_vuln ( info )
219
221
220
222
print_good " VULNERABLE(#{ mode . to_s . upcase } ) URL(#{ target . to_url } )"
You can’t perform that action at this time.
0 commit comments