How to dump flash file (swf)

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How to dump flash file (swf)

Postby chellio » Fri Sep 30, 2016 5:25 am

I use PPAPI flash plugin. I want to dump loaded swf file to buffer or file. I want to create small modification in it ( for beggining). How to achieve that? Maybe cache is good place to start searching? Maybe there exists some hacks?
chellio
Techie
 
Posts: 27
Joined: Fri May 20, 2016 9:26 am
Location: Poland

Re: How to dump flash file (swf)

Postby amaitland » Fri Sep 30, 2016 6:25 am

There is no API for accessing the cache, you'd have to implement that yourself.

You can access the raw response data for any request using a CefRequestHandler::GetResourceResponseFilter

See the cefclient source for an example.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am

Re: How to dump flash file (swf)

Postby chellio » Fri Sep 30, 2016 5:17 pm

Code: Select all
You can access the raw response data for any request using a CefRequestHandler::GetResourceResponseFilter


Fine for my purporse. Thanks.
chellio
Techie
 
Posts: 27
Joined: Fri May 20, 2016 9:26 am
Location: Poland


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 57 guests