swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] swfextract support for binary resources (patch)


From: Paul Fitzpatrick
Subject: [Swftools-common] swfextract support for binary resources (patch)
Date: Wed, 16 Dec 2009 11:07:24 -0500

Hi all,

Attached is a patch to allow swfextract to deal with binary resources.
 The patch was made against the git repository.  Here's an example of
using it to pull out a binary blob (a zip file in this case) embedded
in a big swf:
$  ./swfextract bundle.swf
Objects in file bundle.swf:
 [-j] 17 JPEGs: ID(s) 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47,
51, 55, 59, 63, 67
 [-p] 51 PNGs: ID(s) 1, 2, 4-6, 8-10, 12-14, 16-18, 20-22, 24-26,
28-30, 32-34, 36-38, 40-42, 44-46, 48-50, 52-54, 56-58, 60-62, 64-66,
68
 [-b] 1 Binary: ID(s) 69
 [-f] 1 Frame: ID(s) 0
$ ./swfextract -b 69 bundle.swf
$ file output.bin
output.bin: Zip archive data, at least v2.0 to extract

Don't know if many people will need this, but it is very handy for me.

Cheers,
Paul

Attachment: swfextract.c.support_binary.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]