AhMyth / AhMyth-Android-RAT

Android Remote Administration Tool
GNU General Public License v3.0
4.49k stars 1.7k forks source link

fixing "directory un accessable" on Android 7, but couldnt enter directory or download file in list #107

Open human-bieng opened 6 years ago

human-bieng commented 6 years ago

Hii I have found a work around to fix "directory un accessable" error thats appears on Android 7 & above Within "FileManager.java" file, replace the following line File dir = new File(path); With the following hardcoded code : File dir = new File("/storage/emulated/0/"); Now i could see files & directories inside "" folder But the problem is that once any folder clickedon i cannot enter to it Are there any solution that could enable me to enter directories & download files within AhMyth file manager ?? Any help will be appreciated,, Thanks in advance,,

FlashyReese commented 5 years ago

You can fix this by AhMyth-Server\app\app\assets\js\controllers\LabCtrl.js Line 204 socket.emit(ORDER, { order: fileManager, extra: 'ls', path: '/storage/emulated/0/' }); Instead of hardcoding it in.

julio00004 commented 5 years ago

hi, can't I just modify the manifest files and put the one of the latest version of android to work on android 8.0 and below?

julio00004 commented 5 years ago

but when is the cell phone unlocked, Ahmyth function well?