Jump to content
  • Sky
  • Mint
  • Azure
  • Indigo
  • Blueberry
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Pomegranate
  • Ruby Red
  • Orange
  • Banana
  • Apple
  • Emerald
  • Teal
  • Chocolate
  • Slate
  • Midnight
  • Maastricht
  • Charcoal
  • Matte Black
Swagter123

Android Tutorial HOW TO HACK SOME ONLINE GAME USING CHARLES PROXY

98 posts in this topic

Recommended Posts

REQUIREMENTS:

 

1. CHARLES

2. SOME BRAIN

 

 

From their website:

About Charles

Charles is a web proxy (HTTP Proxy / HTTP Monitor) that runs on your own computer. Your web browser (or any other Internet application) is then configured to access the Internet through Charles, and Charles is then able to record and display for you all of the data that is sent and received.

In Web and Internet development you are unable to see what is being sent and received between your web browser / client and the server. Without this visibility it is difficult and time-consuming to determine exactly where the fault is. Charles makes it easy to see what is happening, so you can quickly diagnose and fix problems.

Simply translated, this program allows you to see the "hidden" communication between your browser and the target server.
"Big Deal I can get that information off Firefox/Chrome etc. already"
Well the key difference is how the information is displayed and what you can do with it. Looking at a few of the key features:

SSL Proxying – view SSL requests and responses in plain text
AJAX debugging – view XML and JSON requests and responses as a tree or as text
Repeat requests to test back-end changes
Edit requests to test different inputs

(Only partial list of key features, the ones that we will put to use)
As you can see, this will allow us to not only read and understand the severs response from a HTTPS game server (or most web pages using SSL), its able to easily modify requests sent to the server as a MITM application.

Ok Let's get started, for this PoC hack I will be using a completely unedited game from the Play store, Prince Billy Bob (Playstore Link: Game. Lastly, the Android phone I have the game installed on normally, which will have to be run on wifi to connect to the proxy computer.

1st Step: Setup Charles

  • Install Charles following its standard direction, if you can't get that far without needing more detailed help, please exit stage right
  • Start up the program and setup the SSL web proxy. Here's how (DISCLAIMER: I have seen a few different versions of the toolbars in Charles, here is my version, just find the same information if you have a diff version):
    1. Go to Proxy > Proxy Settings
    2. In the Proxies tab enter "8888" in the HTTP Proxy Port field
    3. In same window, Go to SSL tab
    4. Check enable SSL and ensure under locations, it has a checkbox with * next to it and the checkbox is checked. Example:
    5. Check your computer's ipv4 address, if on the same LAN with your computer use the internal ip address before the router, should start with 192.168... or 10.0... assuming standard LAN setup. save this number for later. If not on the LAN with the computer, get on it (or setup an external proxy which is beyond the scope of this tutorial, as LAN setup will allow SSL responses in plaintext, you'll have to figure out your proper configuration to use an external proxy).
    6. Lastly, prep your two SSL certificates. Go to Help > Install Charles CA SSL Certificate. You are going to install on both your PC, and your android. PC installation easy, simply hit Install Certificate and let it select its certificate store, save and done. Next for Android, after hitting the menu item Install Charles CA SSL Certificate, choose the details tab, then copy to file. Save as a DER encoded binary X.509 (CER file) name it whatever and after choosing its destination, send it to your android phone via usb, wifi, sd card, NFC, bluetooth, aliens, IDGAF just send it onto your phone then use any decent file explorer to select and install it.
    7. Alright leave Charles open and now setup the target phone

2nd Step: Setup Android

  1. (if not already done) Install the game from Play store link above (or Gapps/sideload obv fine, just stating the point that the game itself remains untouched with this method, no version conflict to worry about, achievements are available, etc.)
  2. Change your LAN wifi settings. I believe its pretty universal among android versions on how to do this. Go to Settings >Wifi. Long press your network name, and select modify network.. Check the advanced options. Change Proxy settings to manual, scroll down the menu to proxy hostname, change to the LAN ipv4 address you saved from your PC. change proxy port to 8888 to match your settings above. You can leave the rest of the settings alone. Scroll back up and enter wifi password so you can save settings.

Provided you did all that correctly, you should now be set. Test by going on Charles to verify the button that looks like a white circle with a smaller red circle is depressed, then going on your browser on your phone and search something on google, or go to homepage, etc. The second you tap any of those on your phone, Charles should come to life, populating its structure/sequence windows with all sorts of neat data.

All right you're all setup. Next post I'll have up shortly to detail what kind of details you want to focus on, how to get the server to throw you a bone to work with and not just Facebook tracking data, etc. Lastly I'll show my specific exploit I used for Billy Bob .

 

Now back to how to do the hack.

1. Start Billy Bob game. Its going to load up a bunch of folders and info that if you try to figure out where anything useful is you may get lost, so sit tight and let the game start, load up google plus, etc. once its all done and it looks like Charles is done loading new folders constantly, we are going to
2. Stop the recording session (press white/red button). This info is mostly useless unless you want to dig for app api keys, hashes, fun stuff for more complex hacks, but this is a beginners tut to show the benefits of Charles at all levels. Personally I saved this session before I clear it for study later, but you may either save it or just clear it, its not needed for this hack.
3. Now that Charles is clear, restart the recording session. With all the junk out the way, its more likely to only call the server based on your input, thus easier to track what you want. So here is what i did. I started looking for things that you do that trigger a call to the games main server. Things to try include checking daily rewards, in app purchases, buying premium items in game using premium in game currency(read: currency they expect you to pay real money to get any decent quantity), or as I found for my example, the cloud save sent to https://billybobglobal.mafrpgserver.net/google_game/save . This one was the jackpot which game me completely clear (thanks to Charles SSL credentials) JSON string the developer used in this save. Heres the string you can find by checking the request we sent to the server, easiest to read in Form view, it will look a lot like this

 

Hidden Content

    React or reply to this topic to see the hidden content. More info

 

Doesn't look like much up front, but you'll notice a lot of number match your details, for simplicity sake, heres a easy translation for most the variables, haven't played with all of them yet

 

Hidden Content

    React or reply to this topic to see the hidden content. More info

 

So in conclusion what I decided to do, was alter the numbers being VERY carefulk not to delete any delimiters like ,\": etc (in a file editor was easier for me to c/p but you can edit charles inline) and resend the save request with the altered numbers from Charles. You wont get a confirmation about your svae from that, but its ok, once you get a 200 response from the server, you can hit load game from the app directly, and it will load the numbers you put in.

Play around with it to see what you can do, and dont forget to go into your android wifi setting to disable the proxy when done or you wont be able to use the network properly unless your PC is on, etc. Charles stops when shut down so no need to do anything there.

  • Like 33
  • Thanks 15
  • Haha 1
  • Upvote 118
  • Agree 10
  • Informative 5
  • Winner 3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • By Jbro129
      Requirements:
      1.  Apktool (Any type of apktool)
      2. Text editor (Sublime Text/Notepad++)
      3. The Zip File Linked below
       
      End Result :
       
      Download Code:

      Hidden Content
      React or reply to this topic to see the hidden content. More info  
      Instructions:
      Step 1: Decompile your Apk using Apktool (In cmd on windows do "apktool d YourApk.apk") course replace "YourApk.apk" with the apk of your choice.
      Step 2: Open AndroidManifest.xml and find the lines that look similar to this
      <activity android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:label="@string/app_name" android:launchMode="singleTop" android:name="com.unity3d.player.UnityPlayerActivity" android:screenOrientation="landscape">   <intent-filter>     <action android:name="android.intent.action.MAIN"/>     <category android:name="android.intent.category.LAUNCHER"/>   </intent-filter> </activity> Step 3: search for the text .method protected onCreate(Landroid/os/Bundle;)V inside of the file and insert this line under where it says .locals 
      Code:
      invoke-static {p0}, Lcom/gbo/banner;->gboCustomImage(Landroid/content/Context;)V Example use of code - 
      .method protected onCreate(Landroid/os/Bundle;)V .locals 2 invoke-static {p0}, Lcom/gbo/banner;->gboCustomImage(Landroid/content/Context;)V Step 4: Download the above below "CustomImageJbro.zip" and extract the 3 smali files. Put them inside of this directory of your decompiled apk
       
      YourDecompiledAPK \---smali \---com \---gbo |---popup$1.smali |---popup$2.smali |---popup.smali Step 5: Open banner$2.smali and go to line 45 and replace the url to one of your choice.
      "https://www.youtube.com/Jbro129"  to  "https://iosgods.com"
      Then open banner.smali and go to line 99 and replace the text with one of your choice.
      "Subscribe" to "Visit iOSGods"
      Step 6: Still inside of banner.smali, go to line 25 and replace the text with one of your choice. This text is a toast that pops up open opening.
      "Mod By Jbro129" to "Mod For iOSGods"
      Step 7: If you got this far then you most likely saw line 48. Basically what is happening, the app is taking an image from within the assets folder and displaying it upon startup. So go back to your decompiled apk and go to /assets and paste the image of your choice there. Make sure it is a .PNG and then rename your image to config.png.
      "picture.png" to "config.png"
      YourApk \---assets |---config.png \---..... Step 8: Go back to banner.smali and go to line 75. This is the images background color, so if it set to "#0000ff" then it will be blue or if it is "#ff0000" it will be red. Mine was set to "#373fe8" so it is a variant of blue. Take the hex color of your choice and replace "#373fe8" with "#YourColor"
      Example = "#373fe8" <= "#ff8000"
      Step 9: Apply all changes and then recompile apk. As you will see, the toast will be the one you typed as well as the image you put into /assets etc when you open the app.

      Credits:
      - @Jbro129
    • By asianqueen
      First of all I don't know which category would this title fall under. It's more of a tip and tricks and android. I came up with this mapping and hopefully it's useful for some of you or most of you. Problem is, it doesn't navigate around the maps and there might be extra buttons that I have not mapped yet. I'll update as I go. Enjoy!
       

      Hidden Content
      React or reply to this topic to see the hidden content. More info
    • By Mr. Android
      We all know that some server sided games like that of supercell, Gameloft etc. are not easily possible to hack, only thing one can hack easily is the time, im gonna teach you how to speedup/slowup time in gameplay,
       
      SORRY YOUR ANDROID DEVICE MUST BE ROOTED
       
      Works for all kinds of Android devices includying Lolipop devices (Even Marshmallow):
      Before starting, Press the Like button on the end of this tutorial

      Hidden Content
      React or reply to this topic to see the hidden content. More info  
      NOTE: DO NOT FAST FORWARD MORE THAN 5 UNITS (it will cause the game to restart more randomly and will result no change)
       
      IM NOT RESPONSILBE IF YOU ARE BANNED FOR USING 3 PARTY APPS(Read it twice or more, but its still undetectable with some major games like clash of clans etc, you cant use this trick with games like Dominations), So you need to check the type of security the game uses first.
       
      Credits: Me & Gameguardian
    • By Mr. Android
      Hello guys,
      I recently found a way to get free internet on your mobile . This method worked for me , for my friends , and for a lot of people online as i can see during the researches i made .
      Now before you start you should know that based on your own service provider you need to do some research on what to put on the software i will mention below . There are tons of info about this even groups on fb or other places that share pre configured files / or give you more detail regarding your network .
      Now lets start :

      Hidden Content
      React or reply to this topic to see the hidden content. More info  
      If you have any questions, reply with the country you live and the service provider details on this reply box or on private message.
      Dont forget to leave a like Enjoy!!!
       
    • By Swagter123
      Dump the the game and serach for these words
      Damage: public int get_Attack()  Function  name @Joka leeched from your mod.
      Immortal:public float get_Hp() Function  name
      and search the function name in function tab of  ida
  • Recently Browsing   0 members

    No registered users viewing this page.


    • Administrator |
    • Global Moderator  |
    • Moderator  |
    • ViP Plus |
    • ViP |
    • Cheater |
    • Modder  |
    • Novice Cheater |
    • Rookie Modder |
    • Contributor |
    • Senior Member |
    • Member |
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.