Unable to use apk_builder
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.4k
- Forks
- 663
- PR merge metrics
- No merged PRs in 30d
Description
Error running command %s
Traceback (most recent call last):
File "/root/.local/lib/python2.7/site-packages/qark/apk_builder.py", line 115, in _build_apk
subprocess.call(shlex.split(command))
File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
Traceback (most recent call last):
File "/root/.local/bin/qark", line 10, in
sys.exit(cli())
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/root/.local/lib/python2.7/site-packages/qark/qark.py", line 102, in cli
exploit_builder.build()
File "/root/.local/lib/python2.7/site-packages/qark/apk_builder.py", line 76, in build
self._build_apk()
File "/root/.local/lib/python2.7/site-packages/qark/apk_builder.py", line 115, in _build_apk
subprocess.call(shlex.split(command))
File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with qark/apk_builder.py, especially _build_apk around the subprocess.call at line 115, and trace the qark CLI entry point that invokes exploit_builder.build(). Reproduce the command in an environment with the reported Python 2.7 setup and inspect the permission failure; done means apk_builder completes without the reported OSError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, python
- Domain
- security, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100