Jump to content

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


30 posts in this topic

Recommended Posts

Updated (edited)

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 16
  • Winner 1
  • Thanks 5
  • Haha 1
  • Agree 3
  • Informative 2
Posted
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

Posted
1 minute ago, TheArmKing said:

:stubborn: 

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

...

Posted
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

Posted
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.

Posted
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.

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
  • Our picks

    • Boom! Zombies v1.1.0 [+3 Jailed Cheats]
      Modded/Hacked App: Boom! Zombies By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.tk
      App Store Link: https://apps.apple.com/us/app/boom-zombies/id6745877105?uo=4



      🤩 Hack Features

      - Never Die
      - High Damage
      - No Reload
        • Winner
        • Like
      • 2 replies
    • Boom! Zombies v1.1.0 [+3 Cheats]
      Modded/Hacked App: Boom! Zombies By ONEMT PTE. LTD.
      Bundle ID: com.onemt.ios.tk
      App Store Link: https://apps.apple.com/us/app/boom-zombies/id6745877105?uo=4



      🤩 Hack Features

      - Never Die
      - High Damage
      - No Reload
       
        • Winner
        • Like
      • 7 replies
    • Joint Blitz v1.0.20 [+5 Jailed Cheats]
      Modded/Hacked App: Joint Blitz By Beijing Dasheng Digital Entertainment Technology Co., Ltd.
      Bundle ID: com.mojo.tuxi.ios
      App Store Link: https://apps.apple.com/us/app/joint-blitz/id6480042435?uo=4



      🤩 Hack Features

      - Add Diamonds
      - Add Money
      - Enemy Can't Attack
      - No Population Limit
      - Higher Energy Gain (From killing enemy)
        • Like
      • 1 reply
    • Joint Blitz v1.0.20 [+5 Cheats]
      Modded/Hacked App: Joint Blitz By Beijing Dasheng Digital Entertainment Technology Co., Ltd.
      Bundle ID: com.mojo.tuxi.ios
      App Store Link: https://apps.apple.com/us/app/joint-blitz/id6480042435?uo=4



      🤩 Hack Features

      - Add Diamonds
      - Add Money
      - Enemy Can't Attack
      - No Population Limit
      - Higher Energy Gain (From killing enemy)
        • Winner
        • Like
      • 3 replies
    • Super Stylist Fashion Makeover Cheats v3.6.6 +1
      Modded/Hacked App: Super Stylist Fashion Makeover By CRAZY STYLE LTD
      Bundle ID: com.babyeducationtoys.fashionstyle
      iTunes Store Link: https://apps.apple.com/us/app/super-stylist-fashion-makeover/id1441648201?uo=4


      Hack Features:
      - Free Store (not iAP)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/112404-super-stylist-fashion-makeover-v352-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/190368-super-stylist-fashion-makeover-cheats-v352-1/
        • Agree
        • Thanks
        • Like
      • 19 replies
    • AdVenture Capitalist Cheats v9.13.0 +1
      Modded/Hacked App: AdVenture Capitalist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecapitalist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-capitalist/id927006017?uo=4


      Hack Features:
      - Freeze Currencies

       
      Free Non-Jailbroken Hack:  https://iosgods.com/topic/82751-adventure-capitalist-v940-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/78370-adventure-capitalist-cheats-v940-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,192 replies
    • Monster Legends: Collect all Cheats v18.1.1 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🤩 Hack Features

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 348 replies
    • BitLife - Life Simulator Cheats v3.19.8 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,676 replies
    • [Global / KR] STARSEED: Asnia Trigger Cheats v7.6 +3
      Modded/Hacked App: STARSEED: Asnia Trigger By Com2uS Corp.
      Bundle ID: com.com2us.starseedgl.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/starseed-asnia-trigger/id6504904399?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Skills


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/188338-starseed-asnia-trigger-cheats-v115-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 59 replies
    • Idle MoonRabbit: AFK RPG Cheats v1.124.0 +4
      Modded/Hacked App: Idle MoonRabbit: AFK RPG By Able Games Co. ,Ltd.
      Bundle ID: com.TheAbleGames.DalToKi
      iTunes Store Link: https://apps.apple.com/us/app/idle-moonrabbit-afk-rpg/id1599684924?uo=4

       

      🔧 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🚀 Hack Features

      - Multiply Attack
      - Multiply Defense
      - Infinite Mana
      - Instant Skills


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/190116-idle-moonrabbit-afk-rpg-v11130-jailed-cheats-4/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/167497-idle-moonrabbit-afk-rpg-cheats-v11130-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 242 replies
    • Hollywood Story: Fashion Star Cheats v13.3 +4
      Modded/Hacked App: Hollywood Story®: Fashion Star By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://apps.apple.com/us/app/hollywood-story-fashion-star/id876656488?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Cash
      - Infinite Gems
      - Infinite Golden Tickets
      - Infinite Stars Point

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73408-hollywood-story-fashion-star-cheats-v1211-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 808 replies
    • My Talking Angela 2 Cheats v25.2.3 +2
      Modded/Hacked App: My Talking Angela 2 By Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingangela2
      iTunes Store Link: https://apps.apple.com/us/app/my-talking-angela-2/id1536584509?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/147072-my-talking-angela-2-v1013-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/147070-my-talking-angela-2-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 112 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