Merge branch 'bugs/RM7108-adobe_flash_mp4_cprt-add_resource_issue' of github.com:neinwechter/metasploit-framework into neinwechter-bugs/RM7108-adobe_flash_mp4_cprt-add_resource_issue

unstable
sinn3r 2013-03-25 11:46:37 -05:00
commit 47e3d7de59
1 changed files with 2 additions and 3 deletions

View File

@ -176,13 +176,12 @@ class Metasploit3 < Msf::Exploit::Remote
#
# "/test.mp4" is currently hard-coded in the swf file, so we need to add to resource
#
#
proc = Proc.new do |cli, req|
self.add_resource({'Path' => "/test.mp4", 'Proc' => proc}) rescue nil
on_request_uri(cli, req)
end
self.add_resource({'Path'=>'/test.mp4', 'Proc'=>proc})# rescue nil
end
def on_request_uri(cli, request)