linkedin / linkedin/qark

Failed to create exploit-apk.

Open
#319 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hey, wanna test some app with PoC one from qark:
```
C:\Users\ComputerUzer\AppData\Local\Programs\Python\Python36\Scripts>qark.exe --java C:\Users\user\VMShared\playground\Android_Mobile_APP\com.androidApp.stragan\ --exploit-apk
Decompiling...
Running scans...
Finish scans...
Writing report...
Finish writing report to c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\site-packages\qark\report\report.html ...
Building exploit APK...
Traceback (most recent call last):
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\ComputerUzer\AppData\Local\Programs\Python\Python36\Scripts\qark.exe\__main__.py", line 9, in
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\ComputerUzer\appdata\local\programs\python\python36\lib\site-packages\qark\qark.py", line 100, in cli
exploit_builder = APKBuilder(exploit_apk_path=build_path, issues=scanner.issues, apk_name=decompiler.apk_name,
AttributeError: 'Decompiler' object has no attribute 'apk_name'
```
This _AttributeError: 'Decompiler' object has no attribute 'apk_name'_ - what I can do with that?

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 call at qark.py line 100 that passes decompiler.apk_name to APKBuilder, then inspect the Decompiler definition and the reported command path. Reproduce the exploit-apk run and confirm that exploit APK creation completes without the AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
mobile, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.