File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ def log_fingerprint( opts = {} )
161
161
map { |x | x . to_s } . join ( '|' ) . hash
162
162
163
163
return if parent . vulns . include? ( vhash )
164
- parent . vulns [ vhash ] = true
165
164
166
165
location = opts [ :location ] ?
167
166
page . url . merge ( URI ( opts [ :location ] . to_s ) ) : page . url
@@ -183,6 +182,7 @@ def log_fingerprint( opts = {} )
183
182
}
184
183
185
184
info [ :confidence ] = calculate_confidence ( info )
185
+ parent . vulns [ vhash ] = info
186
186
187
187
report_web_vuln ( info )
188
188
@@ -196,7 +196,6 @@ def log_resource( opts = {} )
196
196
map { |x | x . to_s } . join ( '|' ) . hash
197
197
198
198
return if parent . vulns . include? ( vhash )
199
- parent . vulns [ vhash ] = true
200
199
201
200
location = URI ( opts [ :location ] . to_s )
202
201
info = {
@@ -216,6 +215,7 @@ def log_resource( opts = {} )
216
215
}
217
216
218
217
info [ :confidence ] = calculate_confidence ( info )
218
+ parent . vulns [ vhash ] = info
219
219
220
220
report_web_vuln ( info )
221
221
You can’t perform that action at this time.
0 commit comments