Hacking Flash Games





Introduction: Hacking Flash Games

Hello my fellow computer nerds and nerdets!
Today I will me showing you how to hack flash games for free, with no danger to your pc.

Step 1: Getting the Software

Okay, all you need for this is some free software-

Flasm, easily googeled.
Mozilla firefox, with the unplug add-on.
A brain.

Step 2: The Last Step.Not Really.

Now all you need to start is to put the flasm folder on your desktop. 

Now go on firefox and navigate to the page with the game you want to hack. Note that this will only work with flash games. Right click anywhere on the page and select unplug. You will get some options of what you would like to download. Pick the game ( work out which one it is, some websites give them weird names) and save it to your flasm folder.
Assuming the name of your game was GAME1, you must now do the following in a cmd window (start, all programmes, accessories, command prompt) - 

cd desktop
cd flasm

Then you will get a list of options. ignore them and instead type-

flasm -d GAME1.swf > GAME1.txt.

Go to your flasm folder and you will now see the game in a notepad file. open it.

Step 3: The Hacking Part

You should see a lot of text, but as long as it's in English you should be OK. 
Press control-f on your keyboard to open the find tool. Now assuming in GAME1 you have 3 lives, and you want 999 lives, in the find tool type in lives or life or money or whatever it is you want to change. When you find it with the number you have originally have next to it, you've hit the jackpot. change the value to whatever you want and then save the file.

Go back to the command prompt and now type in flasm -a GAME1.txt. You should get a message saying the action is complete.
Go back to the flasm folder. You should now have the following-

Ignore the one with the dollar sign and the click the flash file. if you did it right you should now have a hacked flash game!



    • Microcontroller Contest

      Microcontroller Contest
    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest

    We have a be nice policy.
    Please be positive and constructive.




    What do you mean by hacked? Do you mean you can now cheat in the game? Or do you now have the actual game as a playable exe on your computer?

    I am trying to remove the preloader code from a game so it can work on my android using a tool iknow but i am not sure how to do it

    Open up the game in FFDEC and either remove the code or make it return nothing

    Flasm is Outdated.. Heres a Quick tutorial on how to hack flash games quick and easily

    Step 1. Find a game

    Step 2. Right click on the games page and press 'View page source'

    Step 3. Once the new tab of the pages source is open .. Press CTRL F to search for text on the page..

    Step 4. Type in the Text box that appeared ".swf" Without the parenthesis..

    Step 5. Find your games URL and copy and paste it into the browser

    Step 6. Once your game is loaded up.. Go to your browsers Menu and look for Page Inside of the Page selection it will have an option to "Save page as.." save the page and your SWF will be downloaded..

    Step 7. Download JPEXS Flash Decompiler Also known as FFDec...

    Step 8. Open FFDec and Drag your downloaded SWF into the program..

    Step 9. Open the Scripts Folder and go through the ActionScript files..

    Step 10. Once you find one with Interesting code such as "_root.Cash" it will have a value such as _root.Cash = 150; You can change that yes.. to any value your want...but if you know a bit of coding like me you could think of other ways to change the value..

    Step 11. after your changes are made just save the file..

    Step 12. If you would like to open your file you can drag it into your browser and play it.. or open it in a local Flash player , But if you want to use it to cheat you will need to install a program called Fiddler and use the Auto Responder function of the program Drag your SWF file into the Auto Responder area and replace where it says something like REGEX(Blahblahblah) Replace everything in that box with the original SWF file name such as (If the SWFs url was something like Http://www.test.com/Tacos.Swf) Tacos.Swf then you would go to the original site where the game was with AutoResponder Enabled and your SWF files Checkbox checked in fiddler then it should play your file on there server while your playing it Hence enabling your hacks to be used by you and have a high score on the leaderboard

    Step 13. Thats about all the steps the only thing i would advise you to do now is Go Research on Action Script 1,2, and 3 .. after you have a good understanding of them you can create your own hacks instead of modifying values .. a few keywords to look up would be ' Action Script how to make a hotkey ' , ' Action script Toggles ' , ' Actionscript Keycodes ' Just those three google searches will help you become a better Flash Game Hacker... Hotkeys combined with Toggle abilities make a great hack , the reason you need the KeyCodes is so you know which numbers to press for each letter (Ex: if(Key.getCode() == 49) ) Well what would 49 be? thats a KeyCode for the Key board number 1.. I may make a more in depth tutorial on a website if i decide to make one or i may just make a video on youtube Be on the lookout if you like learning to code.... This tutorial was made my me - Muerte - BreakSec

    Great article but here is a best trick to hack flash files from a website http://psychocodes.in/blog_view.php?content_id=30

    What if it's an .flv file instead of a .swf?

    Great! Thanks man!