Home

Awesome

GitHub stars GitHub forks GitHub issues GitHub watchers Python Bash MIT BlackHole Security Gameye98/DedSecTL

ForTheBadge built-by-developers

BlackHole Security

DTL-X

An Advanced Python APK Reverser and Patcher Tool.

The purpose of the DTL-X is to provide a Python-based tool for reversing and patching Android applications (APKs). The tool can be used to remove ads, trackers, and other unwanted code from APKs. It can also be used to modify the behavior of APKs, such as by adding new features or changing the permissions that the app requires.

The DTL-X tool is based on the apktool and smali tools. It uses these tools to decompile an APK into its original source code, which can then be modified. The tool also includes a number of features that make it easier to reverse and patch APKs, such as a graphical user interface and a built-in decompiler.

The DTL-X tool is a powerful tool for anyone who wants to reverse or patch Android applications. It is easy to use and can be used to modify APKs in a variety of ways. The tool is also open source, so it can be modified and extended by anyone.

Here are some of the features of DTL-X:

If you are interested in reversing or patching Android applications, then I recommend checking out the DTL-X tool. It is a powerful and easy-to-use tool that can be used to modify APKs in a variety of ways.

--rmads1: target=AndroidManifest.xml,replace=com.google.android.gms.ad  
--rmads2: No Internet (remove the required permission to do so)  
--rmads3: Search using regex and replace string ("ca-app-pub) with ("noads)  
--rmads4: (Powerful) Disable all kind of ads loader base on the dictionary list  
--rmnop: Remove all nop instruction found on the smali file  
--rmunknown: Remove all unknown files (.properties, etc)  
--customfont: Update and replace all font files with user recommended file  
--rmcopy: Remove AppCloner Copy Protection  
--rmprop: Remove only .properties file  
--rmtrackers: Remove Trackers  
--nokill: No Kill  
--cleanrun: Remove the decompiled project after done patching  
--findstring: Find string / Search Text  
--paidkw: Search for InApp Purchased of Pro/Premium Features  
--noc: No Compile  
--patch <PATCHFILE>: APK PATCHER (read README_PATCH.MD for more information)
--rmpairip: Remove Google Pairip Protection (Old Method)  
--rmvpndet: Remove VPN Detection  
--rmusbdebug: Remove USB Debugging  
--rmssrestrict: Remove Screenshot Restriction  
--rmxposedvpn: Remove ROOT XPosed and VPN Packages  

• note 1: remove any whitespace found on the apk file name before patching
• note 2: you can use multiple method in a single run:
python dtlx.py --rmprop --rmads4 --cleanrun file.apk
• note 3: remember the execution of method start from left to right, based on the above command: remove .properties then remove ads
• note 4: if you want to update to the latest version just type:
git pull .

Screenshot

<img src="assets/screenshot.png">

Requirements

• python 3.x
• apktool v2.6.1-dirty
• smali v2.5.2 and baksmali v2.5.2
• aapt & aapt2 (patched version, could be found on assets/)
• apksigner
• openjdk
• progressbar (python's library)
• unzip
• zip
• dexRepair

Installation

apt install python git ncurses-utils apktool apksigner openjdk-17 unzip zip
python -m pip install progressbar
git clone https://github.com/Gameye98/DTL-X
cd DTL-X
# Btw you need to replace the old/regular aapt with the patched version
# The old/regular version could not handle filename with symbol
# You can find the patched version of aapt on directory assets/
apt install aapt aapt2
cp assets/aapt "$(command -v aapt)"
cp assets/aapt2 "$(command -v aapt2)"
bash setup.sh
python dtlx.py

Follow Our Channel or Join Our Discussion

Credits