diff --git a/modules/exploits/windows/browser/ie_slayoutrun_uaf.rb b/modules/exploits/windows/browser/ie_slayoutrun_uaf.rb index 00e4e61d047b..125c9d3ae3ae 100644 --- a/modules/exploits/windows/browser/ie_slayoutrun_uaf.rb +++ b/modules/exploits/windows/browser/ie_slayoutrun_uaf.rb @@ -222,7 +222,7 @@ def on_request_uri(cli, request) html = get_exploit(my_target, cli) html = html.gsub(/^\t\t/, '') print_status("Sending HTML...") - elsif uri=~ /\/$/ + else html = get_iframe print_status "Sending IFRAME..." end