Flash Exploit Tutorials
From M-Gate Labs Wiki
Flash Exploit is a complicated program, you will need all the help you can get.
Contents |
Basic Tutorials
Screen Layout
A: Object List
B: Display List
Image:FlashExploit Display List.jpg
Use this window to
- See how the Frame was made
- Object layers
- Clipping Paths
- Matrixs
Alternative Uses
- Movie Options
- Double Click to Set the Preview to that Movie Clip
- Right Click to
- Alter Frame
- Toggle Visibility
C: Frame Preview
Use this window to
- Preview Frames
Window Options
- Toggle Scaling
- By Default the Frame Preview will Scale to Fit the Window
- Toggle Gradients
- Turing off Gradients will improve Speed
- Toggle Quality
- Speed Improvement
- Toggle Dragging
- Once Enabled click and drag to move the screen contents.
D: Frame Control
Opening a Movie
Viewing a Shape
Running Flash Exploit From the Command Line
With the release of 1.21.0 the start up command has changed, all previous versions will still function, but for 1.21.0 the class loader stopped working correctly. So now instead of executing a jar file containing the Executable the the Jar file is added to the class path and then executed.
To Run Flash Exploit with 64 MB ran.
java -cp .;./FlashExploit.jar Runner
To Run Flash Exploit's Block Editor with 64 MB ran
java -cp .;./FlashExploit.jar Runner -block
To Increase the About of ram used by Flash Exploit
- 128 MB
java -Xmx128M -cp .;./FlashExploit.jar Runner
- 256 MB
java -Xmx256M -cp .;./FlashExploit.jar Runner
- 512 MB
java -Xmx512M -cp .;./FlashExploit.jar Runner
Advanced Tutorials
FECL
Converting a Frame to SVG
java -jar FECL.jar -i input_swf_file -o output_svg_file -mode frame -f frame_number
Dumping all Shapes to SVG
java -jar FECL.jar -i input_swf_file -o path_to_folder -mode dump
Frame Hacking
Block Editing
Opening a Flash File
- Open the Block Editor
- Select the Menu File->Open
- Select the Appropriate Flash File and click open
Altering The Background
- Open the Block Editor
- Open the Flash File
- Double click on the SetBackground block
- Select the new background color of your choice
- Save your work
Changing A Shape
Note: This operation will take some time, but follow the instructions and you will be able to modify any flash movies contents.
Required Software
- Adobe Flash 8
- Flash Exploit
Optional Software
- Adobe illustrator CS
- Open Flash Exploit Twice
- Second Flash Exploit should be the "Block" editor.
- Open the Target flash file in both flash exploits.
- In the normal flash exploit find a frame of the movie or sprite that you want to change.
- Click the Update Display List button
in the Frame control window.
- Go through each item on the Display List, right click and select "Toggle Visibility".
- When you object you want to replace disappears then you clicked on the right object. Take note of its ID.
- Double Click on that object and look at its preview, because its most likely centered aligned.
- If you have adobe illustrator
- Export the object to SVG, Click Export->to SVG (Frame)
- Open the SVG with Adobe Illustrator
- Remove any excess shapes
- Flash Exploit always Exports a background layer.
- Export from Adobe Illustrator to SWF
- Open the exported SF file in Flash
- If you don't have Illustrator
- Make a new movie in Flash
- Create a new MovieClip
- Draw Something
- Modify the Shape inside of the MovieClip and align it like it was shown in Flash Exploit.
- Export you Movie to SWF.
- Make sure you export to the correct version, if the target movie is version 6 then you will want to export to version 6.
- Open the new movie with Flash Exploit and take not of the ID you just made.
- Open your new movie in the Block Editor
- Locate the New Shape, Based on its ID
- Click on the Shape, then click Block->Export->Block
- Name the Export Something you would remember.
- its not a complete swf, so don't use the SWF extension.
- Open the Original SWF that you want to modify.
- Locate the Shape you want to replace.
- Click on the Shape you want to replace and then click Block->Replace.
- The Shape has now been replaced, but its ID will be wrong.
- Click on the Shape again and then click Block->Change Object ID and enter the ID of the original shape.
- Save and see what you have done.
- If the shape isn't aligned right then you will need to go back to flash, modify the shape, re-export and repeat the process again.
Just Keep Toggling Visibility until the shape you want disappears. Then double click on the shape to select it.
The Shape will look wrong, usually out of frame, but thats OK, its just nor Top-Left Aligned. You will want to remember this because when you want to replace the shape it has to be aligned correctly.




