I have some Flash SWF files that I need some insight into how they are working. Are they any good tools out there to reverse engineer a SWF file?
Thanks.
I have some Flash SWF files that I need some insight into how they are working. Are they any good tools out there to reverse engineer a SWF file?
Thanks.
In addition to grabbing a Flash decompiler, you may want to read the SWF File Format Specification docs.
As someone constantly working with SWF file format and ActionScript 2 and 3 bytecode, I highly recommend ASV. Unlike other decompilers, it has been designed to look into SWF files, not just convert them to FLA.
Also, you will need to read the following documents:
SWF File Format Specs v10
AVM2 Overview
I've had lots of luck working with AVE Imperator at http://www.ave-imperator.com/
It has helped me even get working actionscript to go along with the elements inside. It has more than one method of decompiling too, so often you can tweak the way you're decompiling it to get what you need.
FWIW: I have created an ActionScript 3 (dis-)assembler (which allows you to assemble back modified code, even for obfuscated files). It is similar in functionality to flasm, however it targets the AVM (used in newer Flash versions), and works directly with the AS bytecode rather than entire SWF files. To edit the rest of the file, you could use a tool such as SWiX.
I hate to give the "just google it" answer, but it really is that simple if you know what terms to use.
Sothink Flash Decompiler is also pretty decent, and rants pretty good on CNET's list of downloaded decompilers.