Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
* * * * * 1 votes

Hacking Flash Games (PART 2)


  • Please log in to reply
124 replies to this topic

#1 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 08 November 2007 - 06:59 AM

Make Sure you read the First Part Before, it's located here:
http://forum.codecal...s-part-1-a.html
The second operation is the main part of all this.

Download Sothink SWF Decompiler, from SWF Decompiler, Flash Decompiler, SWF To FLA Converter, Recover FLA you may need to buy it, and install it. Open it up, go to Tools/Options and you will see this:

Posted Image

Deselect ‘Browse .SWF files without parsing’ and you are ready to go. Press OK and open the flash game you just downloaded. It should load and on the right you will see a bunch of folders like this:

Posted Image

Now find the Action Folder, and in it there should be one named MainMovie, open that and you will see a bunch of code. Now if you want to hack the health find something like _root.health or something like that. In this case it is _root.player.health but if you are hacking some other game then you have to find your own. If you cannot find it, then the variable might either be of another name that you cannot guess or the game might not be hackable! Ok once you find the variable copy and paste it. The second operation is done.

Now here comes the fun part! Download my program, please find it attached below, and open it up (feel free to scan it with every anti-virus you want) you will not find anything. This is the main program, very simple. If you find any bugs please report them.

Posted Image

Now go on File/Open and open the game, in the Variable Name text box write in the variable that you found in step two, and in the Value text box write the value you want, now start playing the game and when your life (or whatever you are hacking) is low press the Hack it button and it will go up to the value you want it. For later use (as I’m 99% sure) you will not remember the variable click the Save Settings, and next time use the Load Settings. If it generates an error as soon as you press the hack it button it means that the game has not loaded that variable or it means that you wrote down the variable name wrongly! Please report and bugs you find so I can fix them and make a more stable program.

Now as I told you the main aim of this article is so avoid this method of hacking your flash games. It is very simple, you can either encrypt your flash games, in this way your variables will not be accessible/readable. You can make misleading variables (for example don’t make the health variable _root.health, make it like _root.abc. In that way of course the users will not be able to find it. And the last method is to converting your flash games into exe files, meaning embedding your flash games into exe files.

Hope you now can make your flash games safer and more ‘unhackable’

If It did help please don't forget to add +rep to my post, Thanks
  • 3

#2 your_rock

your_rock

    CC Lurker

  • Just Joined
  • Pip
  • 8 posts

Posted 13 November 2007 - 09:36 AM

I can't see ur programme there is no attached file
  • 0

#3 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 13 November 2007 - 03:27 PM

Find it attached in PART 1 of this article.
  • 0

#4 apparition

apparition

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 24 November 2007 - 01:06 PM

Thanks for this great tutorial
  • 0

#5 jt1994

jt1994

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 24 November 2007 - 03:38 PM

This is cool, I only knew how to go as far as making these programs using the express version of VB, and have set variables at set/input values, but I never worked out how to do what you did =[
  • 0

#6 Jelfa

Jelfa

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 24 November 2007 - 04:00 PM

I agree - in order to protect games effectively it's good to know as many methods of hacking them as possible. Great and helpful tut, thanks TheComputerMaster.
  • 0

#7 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 25 November 2007 - 05:22 AM

This is cool, I only knew how to go as far as making these programs using the express version of VB, and have set variables at set/input values, but I never worked out how to do what you did =[


I agree - in order to protect games effectively it's good to know as many methods of hacking them as possible. Great and helpful tut, thanks TheComputerMaster.


Thanks, you are both welcome! And yes Jelfa I agree, may sound strange but thats the truth!
  • 0

#8 GQBoi

GQBoi

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 28 November 2007 - 09:15 PM

Thanks - this is great.

But I think you could have obtained the SWF file without installing FlashGet. If you have FireFox, just go up to Tools, Page Info, Media, and look for an embedded SWF. Alternatively, you could have just looked at the HTML code.

It's still amazing though.
  • 0

#9 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 29 November 2007 - 02:53 AM

Yeah, that is what I've done with IE users. And I told them to use FlashGot + FlashGet because it is much simpler imo. But thanks for your feedback.
  • 0

#10 darkzora

darkzora

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 08 December 2007 - 01:12 PM

Cool thanks :)
  • 0

#11 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 08 December 2007 - 02:24 PM

You are welcome man! Have fun :)
  • 0

#12 Bodygard

Bodygard

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 09 December 2007 - 09:02 AM

Thanks for this! :D
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download