d78ui98 / apkdeeplens Goto Github PK
View Code? Open in Web Editor NEWAndroid security insights in full spectrum.
License: MIT License
Android security insights in full spectrum.
License: MIT License
Running on macos M1 arm
[+] /Users/nimrod/gitapps/APKDeepLens/base.apk found!
[+] Creating new directory for extracting apk : /Users/nimrod/gitapps/APKDeepLens/app_source/base.apk
[+] Extracting the source code to : /Users/nimrod/gitapps/APKDeepLens/app_source/base.apk
INFO - loading ...
INFO - processing ...
2024-03-12 11:49:41.559 java[6738:1798207] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
ERROR - Error saving class: androidx.datastore.migrations.SharedPreferencesMigration
jadx.core.utils.exceptions.JadxRuntimeException: Failed to generate code for class: androidx.datastore.migrations.SharedPreferencesMigration
at jadx.core.ProcessClass.generateCode(ProcessClass.java:93)
at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:253)
at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:218)
at jadx.api.JavaClass.getCodeInfo(JavaClass.java:53)
at jadx.api.JadxDecompiler.lambda$appendSourcesSave$4(JadxDecompiler.java:257)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: jadx.core.utils.exceptions.JadxRuntimeException: Codegen failed
at jadx.core.ProcessClass.generateCode(ProcessClass.java:89)
... 7 common frames omitted
ERROR - Error saving class: kotlinx.coroutines.flow.FlowKt__ShareKt$launchSharing$1
jadx.core.utils.exceptions.JadxRuntimeException: Failed to generate code for class: kotlinx.coroutines.flow.FlowKt__ShareKt$launchSharing$1
at jadx.core.ProcessClass.generateCode(ProcessClass.java:93)
at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:253)
at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:218)
at jadx.api.JavaClass.getCodeInfo(JavaClass.java:53)
at jadx.api.JadxDecompiler.lambda$appendSourcesSave$4(JadxDecompiler.java:257)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: jadx.core.utils.exceptions.JadxRuntimeException: Codegen failed
at jadx.core.ProcessClass.generateCode(ProcessClass.java:89)
... 7 common frames omitted
ERROR - finished with errors, count: 18
CompletedProcess(args=['/Users/nimrod/gitapps/APKDeepLens/static_tools/jadx/bin/jadx', '/Users/nimrod/gitapps/APKDeepLens/base.apk', '-d', '/Users/nimrod/gitapps/APKDeepLens/app_source/base.apk'], returncode=0)
jad
Jadx installed
jadx --version
1.4.7
Though we are parsing the results in HTML and PDF, but we should also add output in json.
So, I get an error saying AndroidManifest.xml not found
with the below. I can run jadx
against the APK successfully. What is happening?
❯ python3 APKDeepLens.py -apk Example.apk
████ █████ ██ ██ ( ) (_ )
██ ██ ██ ██ ██ ██ _| | __ __ _ _ | | __ ___ ___
██████ █████ ████ /'_` | /'_`\ /'_`\( '_`\ | | /'_`\/' _ `\/',__)
██ ██ ██ ██ ██ ( (_| |( __/( __/| (_) )| |__ ( __/| ( ) |\__, \
██ ██ ██ ██ ██`\__,_)`\___)`\___)| ,__/'(____/`\___)(_) (_)(____/
| |
(_)
- Made By Deepanshu
[+] /Users/jj/Documents/APKDeepLens/Example.apk found!
[+] Creating new directory for extracting apk : /Users/jj/Documents/APKDeepLens/app_source/Example.apk
[+] Extracting the source code to : /Users/jj/Documents/APKDeepLens/app_source/Example.apk
INFO - loading ...
CompletedProcess(args=['/Users/jj/Documents/APKDeepLens/static_tools/jadx/bin/jadx', '/Users/jj/Documents/APKDeepLens/Example.apk', '-d', '/Users/jj/Documents/APKDeepLens/app_source/Example.apk'], returncode=0)
[-] ERROR: Manifest file /Users/jj/Documents/APKDeepLens/app_source/Example.apk/resources/AndroidManifest.xml not found.
/Users/jj/Documents/APKDeepLens/APKDeepLens.py:275: [-] [Errno 2] No such file or directory: '/Users/jj/Documents/APKDeepLens/app_source/Example.apk/resources/AndroidManifest.xml' at line 202
Great work on the project so far. It is very useful for initial analysis of APK files.
I would like to request a feature that checks if Android components (activities, services, receivers, providers) are exported. This can be done by analyzing the android:exported
attribute. This feature will aid developers in ensuring the security and proper configuration of their Android components, enhancing app security and integrity.
[Errno 2] No such file or directory: 'C:\Users\XXX\Downloads\APKDeepLens-main\APKDeepLens-main\app_source\testing_apps\ARS-9D-1.0-369.apk\sources\kotlin\coroutines\intrinsics\IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__Intri.java'
C:\Users\xxx\Downloads\APKDeepLens-main\APKDeepLens-main\APKDeepLens.py:275: [-] [Errno 2] No such file or directory: 'reports/report_./testing_apps/ARS-9D-1.0-369.json' at line 268
I am running this program on my windows 11 laptop which has python 3.11 installed and I am able to install the script but whenever I am scanning an apk file with the given command then its not showing any report on console, also I tried to generate report in pdf but it's still not generating
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.