Comments (21)
try update comm = "%s" % (" ".join(quote(arg) for arg in args))
to comm = "%s" % (" ".join(arg for arg in args))
in apkleaks/apkleaks.py
line 96. It works on windows.
this error may cause by command error.
from apkleaks.
Again, thank you so much for reporting this, @masteradit! Can you confirm whether it's still reproduced on hotfix PR #41 (v2.3.2)?
from apkleaks.
Hey @dwisiswant0! I am still getting the same error on v2.3.2. Should I create another issue?
Also, a small unrelated bug: the ASCII art (I am not sure what it is called), still shows v2.3.0. I tried to figure out how to fix this, but I am not a very advanced Python user, so I could not figure it out. Maybe it is related to the header()
function in cli.py
file from line 12 to 17. Let me know if I should make a separate issue for this too.
Thank you for your quick responses!
from apkleaks.
Did you install with setup.py build
?
from apkleaks.
Thank you! Running python .\setup.py build
updated the version to 2.3.2.
But python .\apkleaks.py -f <path-to-apk>\app-armeabi-v7a-release.apk
is still giving the same error.
from apkleaks.
Thank you! Running
python .\setup.py build
updated the version to 2.3.2.But
python .\apkleaks.py -f <path-to-apk>\app-armeabi-v7a-release.apk
is still giving the same error.
It still prompted PermissionError: [WinError 32]
?
from apkleaks.
It still prompted
PermissionError: [WinError 32]
?
Yes, here's the complete output:
_ ____ _ ___ _
/ \ | _ \| |/ / | ___ __ _| | _____
/ _ \ | |_) | ' /| | / _ \/ _` | |/ / __|
/ ___ \| __/| . \| |__| __/ (_| | <\__ \
/_/ \_\_| |_|\_\_____\___|\__,_|_|\_\___/
v2.3.2
--
Scanning APK file for URIs, endpoints & secrets
(c) 2020-2021, dwisiswant0
** Decompiling APK...
The filename, directory name, or volume label syntax is incorrect.
** Scanning against 'com.com.<package-name>'
Traceback (most recent call last):
File "apkleaks.py", line 5, in <module>
main()
File "C:\Users\username\Documents\apkleaks\apkleaks\cli.py", line 38, in main
init.cleanup()
File "C:\Users\username\Documents\apkleaks\apkleaks\apkleaks.py", line 145, in cleanup
os.remove(self.output)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\username\\AppData\\Local\\Temp\\apkleaks-va_bn39s.txt'
from apkleaks.
Same here, having the same error after following the steps above
from apkleaks.
Same here, installed also via setup.py
`←[0m←[94m** Decompiling APK...
←[0mDie Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
** Scanning against ''
Traceback (most recent call last):
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks.py", line 5, in
main()
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks\cli.py", line 38, in main
init.cleanup()
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks\apkleaks.py", line 145, in cleanup
os.remove(self.output)
PermissionError: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'C:\Users\P\AppData\Local\Temp\apkleaks-ewc_6o52.txt'
C:\Users\P\Downloads\apkleaks-master\apkleaks-master>`
from apkleaks.
`←[0m
←[93mIt's not a valid file!
←[0mTraceback (most recent call last):
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks\cli.py", line 34, in main
init.integrity()
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks\apkleaks.py", line 87, in integrity
sys.exit(util.writeln("It's not a valid file!", col.WARNING))
SystemExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks.py", line 5, in <module>
main()
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks\cli.py", line 38, in main
init.cleanup()
File "C:\Users\P\Downloads\apkleaks-master\apkleaks-master\apkleaks\apkleaks.py", line 145, in cleanup
os.remove(self.output)
PermissionError: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'C:\\Users\\P\\AppData\\Local\\Temp\\apkleaks-mbqw8ja1.txt'
` Does not work with this fix...
from apkleaks.
try update
comm = "%s" % (" ".join(quote(arg) for arg in args))
tocomm = "%s" % (" ".join(arg for arg in args))
inapkleaks/apkleaks.py
line 96. It works on windows.
this error may cause by command error.
Thank you @Ch3nYe! It fixed it! Please make a pull request.
from apkleaks.
I am facing the same problem,I am using windows 10 machine with python 3.8 and apk leaks version 2.3.2
/ \ | _ | |/ / | ___ __ | | _____
/ _ \ | |) | ' /| | / _ / ` | |/ / __|
/ ___ | /| . | || __/ (| | <__
// __| ||______|_,||____/
v2.3.2
Scanning APK file for URIs, endpoints & secrets
(c) 2020-2021, dwisiswant0
�[0m
�[94m** Decompiling APK...
�[0mThe filename, directory name, or volume label syntax is incorrect.
** Scanning against 'com.symbol.datawedge'
Traceback (most recent call last):
File "C:\Python38\Scripts\apkleaks-script.py", line 11, in
load_entry_point('apkleaks==2.3.2', 'console_scripts', 'apkleaks')()
File "c:\python38\lib\site-packages\apkleaks\cli.py", line 38, in main
init.cleanup()
File "c:\python38\lib\site-packages\apkleaks\apkleaks.py", line 145, in cleanup
os.remove(self.output)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\pkbh43\AppData\Local\Temp\apkleaks-bw0e4h_x.txt'
from apkleaks.
my pc is Win10 - 64bit
python V3.8.5
F:\apk\apkleaks>python apkleaks.py -f home.apk
�[95m _ ____ _ ___ _
/ \ | _ \| |/ / | ___ __ _| | _____
/ _ \ | |_) | ' /| | / _ \/ _` | |/ / __|
/ ___ \| __/| . \| |__| __/ (_| | <\__ \
/_/ \_\_| |_|\_\_____\___|\__,_|_|\_\___/
v2.3.2
--
Scanning APK file for URIs, endpoints & secrets
(c) 2020-2021, dwisiswant0
�[0m
�[94m** Decompiling APK...
�[0m
** Scanning against 'com.ludashi.benchmark'
Traceback (most recent call last):
File "apkleaks.py", line 5, in <module>
main()
File "F:\apk\apkleaks\apkleaks\cli.py", line 38, in main
init.cleanup()
File "F:\apk\apkleaks\apkleaks\apkleaks.py", line 145, in cleanup
os.remove(self.output)
PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'C:\\Users\\yangb-i\\AppData\\Local\\Temp\\apkleaks-2_uh685h.txt'
from apkleaks.
Just want to let you know that PR (#45) doesn't fix this issue, @Ch3nYe.
Lemme know if anyone here can solve this problem, feel free to open PR.
from apkleaks.
Just want to let you know that PR (#45) doesn't fix this issue, @Ch3nYe.
Lemme know if anyone here can solve this problem, feel free to open PR.
I'll do it.
from apkleaks.
try update
comm = "%s" % (" ".join(quote(arg) for arg in args))
tocomm = "%s" % (" ".join(arg for arg in args))
inapkleaks/apkleaks.py
line 96. It works on windows.
this error may cause by command error.
Hello,
any update about this? I tried this but still got this error PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\User\\AppData\\Local\\Temp\\apkleaks-0qts4nn7.txt'
.
win 10
python 3.8.1
from apkleaks.
try update
comm = "%s" % (" ".join(quote(arg) for arg in args))
tocomm = "%s" % (" ".join(arg for arg in args))
inapkleaks/apkleaks.py
line 96. It works on windows.
this error may cause by command error.Hello,
any update about this? I tried this but still got this errorPermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\User\\AppData\\Local\\Temp\\apkleaks-0qts4nn7.txt'
.
win 10
python 3.8.1
Solved by this PR #45 😄
from apkleaks.
from apkleaks.
@weujieytt some apk works, and some error like that, idk why.
from apkleaks.
@w1th0ut no problem with linux
from apkleaks.
Hi, everyone! Please check the latest version (v2.5.2) for this workaround.
Thanks!
from apkleaks.
Related Issues (20)
- Artifactory_Password PoC HOT 1
- [Question] I have a question about verbosity
- 'C:/Program' is not recognized as an internal or external command, operable program or batch file. HOT 5
- It's possible to make apkleaks save output of jadx instead of create Temporary Dir HOT 1
- Permissionerror: [winerror 32] this file is in use by another program and cannot be accessed by the process.: ' C:\\Users\\*****\\AppData\\Local\\Temp\\a pkleaks-oj1o08vu. txt' HOT 1
- ERROR - finished with errors, count: 146 HOT 1
- Update the docker (latest) to have 2.6.1
- Doesn't get private key
- Version from PyPi is broken (File not found error)
- 安装jadx或者启动时报错 HOT 1
- ModuleNotFoundError: No module named 'pkg_resources' HOT 1
- pyaxmlparser installation is missing
- As per Android 7.0 . An Android APK is no longer zip file
- Bug on Artifactory_Password
- Publish source tarball on pypi? HOT 2
- The obtained IP address is incomplete
- what is this HOT 1
- [Google_Cloud_Platform_OAuth] is still vulnerability ?
- Look em up
- Process can't access file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apkleaks.