Git Product home page Git Product logo

apkdeeplens's People

Contributors

d78ui98 avatar kunwaratulhax0r avatar nehajain444 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apkdeeplens's Issues

Add JSON Output

Though we are parsing the results in HTML and PDF, but we should also add output in json.

Feature Request : Check Exported Status of Android Activities

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.

AndroidManifest.xml not found

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

An error occurred during scanning

[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

扫描测试APP提示报错

报错信息
\APKDeepLens-main\app_source\com.thewalleyapp.apk\resources\AndroidManifest.xml' at line 202
截图
image

Not generating report

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

issue in macos: WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.