Non-decryptable game - Help?
-migrated-
Non-decryptable game - Help? Posted on: 12/25/2010 7:01am
Quote Post
Hey everyone,
As a few of you know,I'm new at hex editing as I have phren sometimes helping me stay on track.
So far I have done a few easy games that weren't a challange,but how about this one:

Santa Can Fly
Link:
http://www.gamesforwork.com/games/play- ... Flash_Game

SWF:
http://www.gamesforwork.com/games/swf/S ... h_2010.swf

Problem with this one is that literary seems undecryptable to me. When I put the original swf in Sothink and search,the loading bar won't start going and it just crashes. I did try several decrypors but it literally breaks the game and nothing works. It's AS3.

Anyone ideas to help me on this? I'd like to hack the money if possible,you start with 100.

Thank you. (broken image removed)
Re: Non-decryptable game - Help? Posted on: 12/25/2010 8:32am
Quote Post
System Bot
This game is a complete pain in the ass.  I would not suggest using it to learn byte code hacking on.  But you can try the decrypter on http://www.swfdecrypt.com - that should allow you to view the source.

This should allow you to buy anything in the game (money will go negative)
61 85 12 10 16
61 85 12 10 00

It sets the offset to 0 on the if/else so it sets the button to not being visible (false) and then sets it back to visible (true) again.

Code: [Select]
           else
            {
                if (int(Main.dat.mainDat.@money) < int(Main.dat.mainDat.children()[int(Main.dat.mainDat.@language)].skills.children()[this.num].children()[(this.ur + 1)].@cost))
                {
                    this.b.visible = false;
                }
                else
                {
                    this.b.visible = true;
                }
                this.now.caption = this.now.caption + (" ( next " + Main.dat.mainDat.children()[int(Main.dat.mainDat.@language)].skills.children()[this.num].children()[(this.ur + 1)].@val + " )");
                this.mon.caption = Main.dat.mainDat.children()[int(Main.dat.mainDat.@language)].skills.children()[this.num].children()[(this.ur + 1)].@cost;



This post was imported from an account that no longer exists!
Previous Name: Anonymous
Re: Non-decryptable game - Help? Posted on: 12/25/2010 8:35am
Quote Post
That's incredible,wow,how did you even got in the source code and rawdata to check and find that?  :shock:  :?
I do have that decrypter,the latest version,and I even also tried SWF Reader (also the latest).
And afterwards,how did you test out the AoB,the game broke after I decrypted it,went with a black screen....

Wow man I'd literally pay you on your paypal if you tell me how do you get thru these pain-in-the-ass encryptions. (no sarcasm,seriously)
Re: Non-decryptable game - Help? Posted on: 12/25/2010 10:29am
Quote Post
It's basically a combination of downloading the .swf using either adblock or swfdump (or whatever your chosen method is) and then using each decryption/deobfuscation method until 1 works. It's all I ever do.

So long as you can get some form of useful bytecode you're good to go. Failing that you can use Cheat Engine to view the bytecode or put common opcodes and wildcards together to try and make an AoB.

Where did you get SWF Reader? Haven't been able to find a copy anywhere. May just buy it if I can't pirate it.
Re: Non-decryptable game - Help? Posted on: 12/25/2010 12:47pm
Quote Post
System Bot
Quote from: "MartinRistov"
how did you test out the AoB,the game broke after I decrypted it,went with a black screen....
Martin, again, you can just use wildcards to find the AoB for the encrypted .swf. On that way you can test your hacks "live". (broken image removed)

This post was imported from an account that no longer exists!
Previous Name: phreneticus