apkleaks: PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:
After issue #37 was fixed, I cloned the repo and tried testing it again.
Here’s the command I entered: python .\apkleaks.py -f <path-to-apk>\app-armeabi-v7a-release.apk
Here’s the output:
_ ____ _ ___ _
/ \ | _ \| |/ / | ___ __ _| | _____
/ _ \ | |_) | ' /| | / _ \/ _` | |/ / __|
/ ___ \| __/| . \| |__| __/ (_| | <\__ \
/_/ \_\_| |_|\_\_____\___|\__,_|_|\_\___/
v2.3.0
--
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.<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 144, 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-fimv9xye.txt'
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (6 by maintainers)
Commits related to this issue
- fix issue #40 This update can fix issue #40 on windows — committed to Ch3nYe/apkleaks by Ch3nYe 3 years ago
- Merge pull request #45 from Ch3nYe/master fix issue #40 — committed to dwisiswant0/apkleaks by dwisiswant0 3 years ago
- Fixes #40 — committed to Kaaveh/apkleaks by Kaaveh 3 years ago
try update
comm = "%s" % (" ".join(quote(arg) for arg in args))tocomm = "%s" % (" ".join(arg for arg in args))inapkleaks/apkleaks.pyline 96. It works on windows. this error may cause by command error.