Skip to content

Commit f053d99

Browse files
Update modules/exploits/multi/http/vbulletin_replace_ad_template_rce.rb
Co-authored-by: Brendan <[email protected]>
1 parent 05d4123 commit f053d99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/exploits/multi/http/vbulletin_replace_ad_template_rce.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ def inject_and_trigger(mode, payload: nil)
105105
)
106106

107107
if mode == :check
108-
return nil unless inj&.code == 200
108+
return false unless inj&.code == 200
109109
return true if inj.body.match?(pattern)
110+
false
110111
end
111112

112113
render_vars = { 'routestring' => "ajax/render/ad_#{location}" }

0 commit comments

Comments
 (0)