Jump to content

Decrpyting an encrypted .dll and other files using Termux app (Root only, 5.0+)


ThePianoGuy

30 posts in this topic

Recommended Posts

I have found a new way to decrypt .dll and other files using Termux. In this tutorial, I'll show you how to decrypt an encrypted .dll file

Requirements:
- Rooted device or Emulator. ARM or x86.
- A powerful Android device: 1 GB RAM, 4 cores, 1.5 - 2.x GHz. If you have a low-end device, your device may freeze during dumping.
- Available free space of Internal storage or Sdcard: 2 GB
- Requires Android 5.0 and up. Works on Marshmallow 6.0.1. Termux will not work on 4.4.4 and below.
- Termux app. It is avaliable on Play Store
- Modified Winhex for Windows (free version will not work for this purpose).

Hidden Content

React or reply to this topic to see the hidden content & download link.

Notes:
There is no need PIE patching. gdb 7.12 natively support Android 5.0 and up

If your device is running Kitkat 4.4.4 and below, please read my old tutorial:

Using Android Emulator?
Sorry, gdb gcore doesn't work with x86.

Finding the package name of the app:
Find the package name of the app you're going to hack!
This will be required to find the app in the Terminal app we're going to use soon.
It's usually called "com.DEVELOPER_CODE.GAME_CODE".
You can find it going (with your browser) to the Google Play website, looking for the game you have installed on your device and then copying what's next to "id=".

See screenshot:

proxy?url=http%3A%2F%2Fi.imgur.com%2FbMh

Alternatively, you can Install Package Name Viewer 2.0 from play store and you'll find the package name of any app you have installed on your device.

proxy?url=http%3A%2F%2Fi.imgur.com%2FlFD

If your device is running Cyanogenmod/Lineage OS, you can go to Settings -> Apps and then you'll find the package name of any app you have installed on your device.

dH2dx7q.png

Termux setup and decryption:
Open Termux. It should be very similar to the following one:


proxy?url=http%3A%2F%2Fi.imgur.com%2FEv8


Type the following commands:

apt update

Update package infomation
apt-get update downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies.

 

apt install gdb tsu

Install both gdb and tsu

gdb is a process debugger
tsu is a root mode for Termux.

Press the home button and launch the game. Let the game fully load.

Open multitask, and go back to Termux

Type the following commands:

su

Enter Superuser mode
Grant root access to enter superuser mode for your device when asked.

dumpsys meminfo | grep com*


Show process list

This command will search for all the running processes starting with "com." (the * is a jolly symbol which means any letter/number/symbol). The package name of the game is always at top. Don't forget to write it down


proxy?url=http%3A%2F%2Fi.imgur.com%2FiHs

exit


Exit Superuser mode

tsu


Enter root mode for Termux

gdb -pid <pid>


attach a process with gdb

Example:

gdb -pid 12345

Hit return to continue when asked.

Do not worry about any warnings like these you may read in the Terminal app:


proxy?url=http%3A%2F%2Fi.imgur.com%2F7d8

gcore <path>


save core file

Example:

gcore /sdcard/thegametodump

Type Y when asked

This will take 3-5 minutes. You device may freeze during dumping. Do not touch your device.

quit


quit gdb
And deattach the process when asked

Or you can exit Termux session from notification

proxy?url=http%3A%2F%2Fi.imgur.com%2F7Mc


Connect your device to your computer and copy your dumped file, if the file does not appear, just create a folder and move the file. This way Windows should be able to see it

Recover decrypted files using WinHex:
Open Winhex.exe

File -> Open... and select a dumped file

Tools -> Disk Tools -> File Recovery by Type

HfbJdcY.png

Click the "+" next to "Programs" (1) and check "Windows exec." (2). Now, select the folder where you want the new file to be generated under "Output Folder" (3).

Ensure "Complere byte-level search" is checked (4) and then click "OK" (5).

7e6W8nE.png

The file recover will now begin and, when it finished you'll get a message like this:

MsPP0tr.png

Now, reach the location where you saved this file and delete all files with the ".com" extension. They're not needed and may only cause confusion.

You can finally close WinHex.

Happy modding!

Credits:
AndnixSH
x-ways devs (Winhex program)
Fredrik (Termux app)

Updated by AndnixSH
  • Like 14
  • Winner 1
  • Thanks 5
  • Haha 1
  • Agree 3
  • Informative 2
Link to comment
Share on other sites

1 minute ago, evildog1 said:

Read the guide. You are not blind

Only ask if you tried it or got stuck

 

:stubborn: 

3 minutes ago, evildog1 said:

Read the guide. You are not blind

Only ask if you tried it or got stuck

 

its cuz there is no guide for nox , only memu and all

Link to comment
Share on other sites

Just now, evildog1 said:

I'll bring this to you

Using Android Emulator?
Termux and GDB fully support x86, but Termux will not work on Kitkat 4.4.4 and below due to system limitation, so you have to use the following emulator that have Lollipop 5.0 ROM and above

...

 

ik

Link to comment
Share on other sites

17 hours ago, fahadxmb said:

@@evildog1

 

This is for advanced modders only even above that there is  a simple way for modders this one is just complicated. 

this doesnt seem that complicated. It is the android equivalent of "cracking/thinning a binary"

Sounds really useful for hacking droid games though.

Link to comment
Share on other sites

5 hours ago, Archangel04 said:

this doesnt seem that complicated. It is the android equivalent of "cracking/thinning a binary"

Sounds really useful for hacking droid games though.

First of All it is Not at all like thinning the binary :lol: but like decrypting it, and second i meant complicated for beginners but you will know when you try and get erros.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Town Matters-Match Hero v1.6.3 +2 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Town Matters-Match Hero By Joyient Inc.
      Bundle ID: machinist.enigma.match3free.ios
      iTunes Store Link: https://apps.apple.com/us/app/town-matters-match-hero/id1472473722?uo=4


      Hack Features:
      - Unlimited Coins -> Complete a level.
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Town Matters-Match Hero v1.5.5 +3 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Like
      • 14 replies
    • Town Matters-Match Hero v1.6.3 +3 Cheats [ Unlimited Coins ]
      Modded/Hacked App: Town Matters-Match Hero By Joyient
      Bundle ID: machinist.enigma.match3free.ios
      iTunes Store Link: https://apps.apple.com/us/app/town-matters-match-hero/id1472473722
       

      Hack Features:
      - Unlimited Coins -> Complete a level.
      - Unlimited Moves -> Will not decrease.
      - Auto Win


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Town Matters-Match Hero v1.5.5 +2 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 24 replies
    • Cooking Wonder v1.45.0 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Cooking Wonder By WonderLegend Games
      Bundle ID: com.wonderlegend.cookingwonder
      iTunes Store Link: https://apps.apple.com/us/app/cooking-wonder/id1638005392
       

      Hack Features:
      - Unlimited Currencies -> Use some.


      Jailbreak required hack(s): https://iosgods.com/topic/169330-cooking-wonder-v120-1-cheat-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Like
      • 43 replies
    • Cooking Wonder ( All Versions ) +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Cooking Wonder By WonderLegend Games
      Bundle ID: com.wonderlegend.cookingwonder
      iTunes Store Link: https://apps.apple.com/us/app/cooking-wonder/id1638005392
       

      Hack Features:
      - Unlimited Currencies -> Use some.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Haha
        • Thanks
        • Winner
        • Like
      • 25 replies
    • Soul Knight v6.0.6 +6 Jailed Cheats [ Unlimited Gems ]
      Modded/Hacked App: Soul Knight By 泽阳 李
      Bundle ID: com.ChillyRoom.DungeonShooter
      iTunes Store Link: https://apps.apple.com/us/app/soul-knight/id1184159988?uo=4


      Hack Features:
      - Unlimited Gems
      - God Mode
      - One-Hit Kill
      - Unlimited Energy
      - No Skill Cooldown
      - Increased Bullet Speed


      Jailbreak required hack(s): [Mod Menu Hack] Soul Knight v4.3.2 +6 Cheats [ Unlimited Gems ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 364 replies
    • Mayor Match v0.32.0 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mayor Match By Rollic Games
      Bundle ID: com.rollic.mayormatch
      iTunes Store Link: https://apps.apple.com/us/app/mayor-match/id1613798130
       

      Hack Features:
      - Unlimited Currencies
      - Unlimited Lives
      - Unlimited PowerUps
      - Unlimited Boosters
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): https://iosgods.com/topic/173392-mayor-match-v0121-6-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Winner
        • Like
      • 22 replies
    • Mayor Match v0.32.0 +6 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mayor Match By Rollic Games
      Bundle ID: com.rollic.mayormatch
      iTunes Store Link: https://apps.apple.com/us/app/mayor-match/id1613798130
       

      Hack Features:
      - Unlimited Currencies
      - Unlimited Lives
      - Unlimited PowerUps
      - Unlimited Boosters
      - Unlimited Moves -> Will not decrease.
      - Auto Win


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Haha
        • Thanks
        • Winner
        • Like
      • 32 replies
    • Dumb Ways to Die v36.1.22 +3 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Dumb Ways to Die By Metro Trains Melbourne Pty Ltd
      Bundle ID: au.com.metro.DumbWaysToDie
      iTunes Store Link: https://apps.apple.com/us/app/dumb-ways-to-die/id639930688
       

      Hack Features:
      - Unlimited Coins -> Use some.
      - All Bean Parts Unlocked -> Will also make all bean parts free to purchase.
      -- No Ads


      Jailbreak required hack(s): https://iosgods.com/topic/168752-dumb-ways-to-die-v36011-3-cheats-unlimited-coins/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Dumb Ways to Die v36.1.22 +3 Cheats [ Unlimited Coins ]
      Modded/Hacked App: Dumb Ways to Die By Metro Trains Melbourne Pty Ltd
      Bundle ID: au.com.metro.DumbWaysToDie
      iTunes Store Link: https://apps.apple.com/us/app/dumb-ways-to-die/id639930688
       

      Hack Features:
      - Unlimited Coins -> Use some.
      - All Bean Parts Unlocked -> Will also make all bean parts free to purchase.
      -- No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Haha
        • Winner
        • Like
      • 24 replies
    • Soul Knight v6.0.6 +6 Cheats [ Unlimited Gems ]
      Modded/Hacked App: Soul Knight By 泽阳 李
      Bundle ID: com.ChillyRoom.DungeonShooter
      iTunes Store Link: https://apps.apple.com/us/app/soul-knight/id1184159988?uo=4


      Hack Features:
      - Unlimited Gems
      - God Mode
      - One-Hit Kill
      - Unlimited Energy
      - No Skill Cooldown
      - Increased Bullet Speed


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Soul Knight v4.3.2 +4 Cheats [ Unlimited Gems ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 325 replies
    • Power Slap v4.2.0 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Power Slap By Rollic Games
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/au/app/power-slap/id6449244841
       

      Hack Features:
      - Unlimited Currencies
      - Free In-App Purchases -> Toggle on via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Power Slap v0.4.1 +4 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 112 replies
    • Power Slap v4.2.0 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Power Slap By Rollic Games
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/au/app/power-slap/id6449244841
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Currencies
      - Free In-App Purchases


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Power Slap v0.4.1 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 76 replies
×
  • 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