[TUT] Local Mapping (using Charles)

11/16/2011 02:56 Whoknowsit#1
G'Day,

i've seen, that there are a lot of people, which are going to use game hacks, which require local file mapping.

It's easy as abc, but i'll explain it here for you.

Requirements:
  1. Latest Charles Proxy (Download [Only registered and activated users can see links. Click Here To Register...], Requires [Only registered and activated users can see links. Click Here To Register...])
  2. A file, which will be used as local ressource

For this tutorial, i'll use the game "Backyard Monsters (on Facebook)" and [Only registered and activated users can see links. Click Here To Register...]'s [Only registered and activated users can see links. Click Here To Register...].
  1. Visit Facebook with your desired browser (Recommended: Google Chrome / Mozilla Firefox)
  2. Start Charles Proxy, which you've installed previously
  3. Clear your browser Cache (important!)
  4. Visit the game

You'll notice, that Charles will be filled with some entries, like this:

[Only registered and activated users can see links. Click Here To Register...]

So far, so good. Now, we have to find the SWF-File, that we want to map to a local ressource. If you have no clue, where to find it, expand every entry in the list, until you found the file.

In our case, we have to find the file game-vXXX.vXX.swf (X is the placeholder for a number), which is located at [Only registered and activated users can see links. Click Here To Register...]/game/:

[Only registered and activated users can see links. Click Here To Register...]

Now, we'll map this remote ressource to a local ressource. In our case, it's the file Ultimat3_Version2_by B3nnyY-Fixed.swf, which you can get from the topic, linked above.
  1. In Charles, right-click on game-vXXX.vXX.swf and in the menu, click "Map Local".
  2. A window will be shown. Inside of this window, there's a button "Choose". Click on it and select the local file from your computer.
  3. After selecting the local file, close the window by clicking on "OK".
  4. You may have to clear your browser cache again for the changes to take effect.

That's it! Now, when starting the game (while Charles Proxy is running!), the previously remapped file will be loaded from your selected local ressource.

This was a very basic tutorial. You can do a lot of things with Charles Proxy. But most game hacks dont require more than the described.

Enjoy ;)

PS: If you want to register your trial of Charles, contact me via PM :)
11/16/2011 07:13 dvlwerkshop2#2
thank u for the tutorial...very helpful.
11/16/2011 07:32 duyle73#3
nicely done. remove the need from debugging with charles and swapping swf with fiddler.
11/16/2011 10:34 .HuskY#4
Java VM

This is also a requirement for the Charles to Work :

Download Link For Java ( Spoiler )

11/16/2011 11:10 light_yagami#5
TySM., Hit thanks later.. :>
11/17/2011 01:43 light_yagami#6
uhmm java VM requires password.. help..


Edit.. :P Got It Now/... I use I Explorer to DL it..

Thanks
11/20/2011 10:46 Whoknowsit#7
Edited my post and added JRE as requirement.

In order to use charles, you need JRE, which you can get here: [Only registered and activated users can see links. Click Here To Register...]

You must have a copy of the JRE (Java Runtime Environment) on your system to run Java applications and applets. To develop Java applications and applets, you need the JDK (Java Development Kit), which includes the JRE.

Furthermore, i've changed the tutorial a little bit, so you'll better understand it.
11/20/2011 16:26 nfsw211#8
I CANT SEE [Only registered and activated users can see links. Click Here To Register...]
11/20/2011 17:41 Whoknowsit#9
And i bet you didnt follow all the steps, listed above.

BEFORE you start the game, you have to CLEAR THE BROWSERCACHE. And then... Open your eyes ;)
11/20/2011 18:22 maxlucio98#10
Very Nice
11/23/2011 06:28 bala2ng08#11
i cant fint the game.vXXX.swf
gameloader.swf is the only one that show up
11/23/2011 13:29 Baby_Hacker#12
We have the same prob dude.
11/24/2011 10:32 Whoknowsit#13
Because you didnt clear the browsercache before!
11/24/2011 10:44 Dark Cube#14
try to watch my video how to use swf in fiddler. might help.

@whoknowsit you want me to make one for you?
11/24/2011 13:21 Whoknowsit#15
A video? No :D I guess, i can do it for myself. Ty anyways ^^