Jump to content

13 posts in this topic

Recommended Posts

Posted

Heyyyy :D

 

Pretty cool this android topic, I've been hacking android games pretty long now.

Today I'll teach you how to start with smali hacking.

 

What do you need?

1. the .apk

2. Tools to decompile & recompile the .apk (I use apkstudio but there are other tools too)

3. A editor which can read & edit .smali files (Notepad++, sublime text etc)

4. Pc to edit the smali files, it's possible to do it with phone but you can't search in folders then & smali does have soooo much files.

4. Phone to test it out.

 

What game will I use for this tutorial?

As I said it's a 'simple' tutorial. I am gonne write down a tutorial for the game "Moto Race" & I'll link my video tutorial of the game "Pou" 

I do assume you know how to decompile & recompile a apk, if you don't know how: Google is your bestfriend.

 

Pou Hack Tutorial:

 

Moto Race Tutorial

App download link: https://play.google.com/store/apps/details?id=com.gw.moto.racing.stunt

Direct download link: https://drive.google.com/file/d/0B_qzxquukQ6RZG1SeE84QVQzZ0U/view

 

Step 1: Always open a app to see what possibily can be hacked, if the game is connected with a server it's most of the time much harder. 

Step 2: Once you see something what can be hacked, go find it in the smali files.

Example: See the price? We can try hacking this.

y6WvImA.jpg

 

Step 3: Let's find this amount in the decompiled smali files by 'searching in files' (locate to your decompiled .apk).

REMEMBER: game value's are decimal, smali value's is Hexdecimal!

Step 4: You got a hit! The first hit is useless, it give you a line which is not important here. Let's look at the second one.

 

6l4r3Li.png

 

Step 5: We found or function, this function is the price of the bike. Let's change it to "0" in Hexdecimal is this: 0x0. You can do this on every bike in the smali. So you have any bike for free. It will look like this:

qilgAiE.png

Step 6: Save the file, recompile it to .apk, delete the original app from playstore, install the recompiled apk, test it & if it works: ENJOY & GOODJOB!

 

qyTHP5b.jpg

 

 

NOTE: This doesn't work for any app of course, much better and famous apps are much better protected.

 

Hope it helped!

 

Goodluck :)

 

Credit: ME :D 

  • Like 1
  • Winner 1

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
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines