linkedin / linkedin/qark

Not able to decompile selected apk

Open
#320 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.4k
Forks
663
PR merge metrics
No merged PRs in 30d

Description

Hi i have been facing this issue with the multiple apk which is in my local computer drives.
The parsing get started with below command in cmd

qark --apk my_app_path.apk

but after running for say 60-90 sec it not work and hangs completely.

and on aborting manually it gives
Error running fernflower
I have installed all the perquisite required for executing qark.
please help me for resolving this issue and proceed further.

Platform Windows 10 ,Python 2.7.13 pip is upgraded to 19.
In case you want anything please let me know.

After two days i got below error

Failed to extract fernflower jar with command 'jar xf app-release.jar'
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\qark\decompiler\decompiler.py", line 294, in unpack_fernflower_jar
    retcode = subprocess.call(command)
  File "c:\python27\lib\subprocess.py", line 168, in call
    return Popen(*popenargs, **kwargs).wait()
  File "c:\python27\lib\subprocess.py", line 390, in __init__
    errread, errwrite)
  File "c:\python27\lib\subprocess.py", line 640, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the qark --apk invocation and the traceback in qark/decompiler/decompiler.py at line 294, where unpack_fernflower_jar runs jar xf app-release.jar. Reproduce the failure on the stated Windows and Python versions, then trace the Fernflower extraction command. Done means the cause is documented and APK decompilation either completes or reports a clear actionable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, python
Domain
security, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.