Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment.DIRECTORY_DOWNLOADS #2

Open
cTFk1ller opened this issue May 20, 2023 · 1 comment
Open

Environment.DIRECTORY_DOWNLOADS #2

cTFk1ller opened this issue May 20, 2023 · 1 comment

Comments

@cTFk1ller
Copy link

cTFk1ller commented May 20, 2023

Hello Developer, 

I found an issue: the returned path of this line code shouldn't be true.
File file = new File(Environment.DIRECTORY_DOWNLOADS + "/allsafe_updater.apk");
should return this path  /Download/allsafe_updater.apk
and the download directory does not exist and can't even be created.

It should be written this way: File file = new File("/sdcard/" + Environment.DIRECTORY_DOWNLOADS + "/allsafe_updater.apk");

Tested ..

@cTFk1ller
Copy link
Author

function invokeUpdate() in ArbitraryCodeExecution class won't work on real device, do you know why !?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant