Giter Club home page Giter Club logo

Comments (8)

agh03 avatar agh03 commented on August 18, 2024 1

Hi SecBro1,
I am encountering the same error on Debian running as root.
Everything else runs ok up to the decompile point.
I will try to sort it out but wanted to mention that it was not an isolated case.
cheers

from qark.

SecBro1 avatar SecBro1 commented on August 18, 2024

My first guess is this is not a bug in QARK, but that something is wrong
with your permissions. I would guess you have installed something as root,
based on the path in your error, but your running it as a lesser privileged
user.

Could you check that out and let us know?
On Oct 23, 2015 11:35 PM, "kaiwalya" [email protected] wrote:

Press ENTER key to begin decompilation
Traceback (most recent call last):
File "qark.py", line 613, in
unpackAPK.decompile(common.pathToDEX)
File "/root/Desktop/qark-master/modules/unpackAPK.py", line 123, in
decompile
sp = subprocess.Popen([pathToDex2jar, common.pathToDEX], shell=False,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied


Reply to this email directly or view it on GitHub
#18.

from qark.

SecBro1 avatar SecBro1 commented on August 18, 2024

@kaiwalyakhasnis Did you get anywhere with this?

from qark.

kaiwalyakhasnis avatar kaiwalyakhasnis commented on August 18, 2024

@SecBro1 error persist i even after setting up system with root access. I manage to get it running on other system Thanks.

from qark.

SecBro1 avatar SecBro1 commented on August 18, 2024

Glad to hear you have gotten it working. Since this is the only report, we'll assume it's a one-off and close it.

from qark.

sunnytambi avatar sunnytambi commented on August 18, 2024

Hi @SecBro1, I am also facing permission denied issue while running it in my Ubuntu box.

------------ Building Exploit APK ------------ Traceback (most recent call last): File "qark.py", line 1017, in <module> sdkManager.build_apk('qark') File "/home/qualuser/Documents/qark-master/modules/sdkManager.py", line 186, in build_apk p1 = Popen(['./gradlew',"assembleDebug"], stdout=PIPE, stdin=PIPE, stderr=STDOUT, bufsize=1) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 13] Permission denied

I tried running the command as sudo too:

sudo python2 qark.py --source 2 -c ~/Documents/proj-android --manifest ~/Documents/proj-android/app/src/main/AndroidManifest.xml --exploit 1 --install 1

Can you help me in fixing this?

from qark.

MartinRJ avatar MartinRJ commented on August 18, 2024

I have the same issue in Kali Linux, which uses a root user by default.
I also tried with a non-root user in Kali, but am getting the same error.

from qark.

flamecopper avatar flamecopper commented on August 18, 2024

I have having the same issue when I try to run on Kali Linux

from qark.

Related Issues (20)

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.