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
commit
47e3d7de59
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue