-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
exec returns EACCESS #1
Comments
if you have this issue please download and install this apk please report back your logcat after performing a scan on a target ( of tap "Start MSF RPCD" from the menu ). thanks 😉 |
Doesnt work :( Catlog: |
@mcilya yep, I just added some log statement to understand what is going wrong. you can see them in the issue1 branch. working on this. |
ah, sorry, i need /data/data/it.evilsocket.dsploit/files/dSploitd.log |
/data/data/it.evilsocket.dsploit/files/dSploitd.log |
@mcilya thanks for the log. but you have to do some extra step. please do the following:
or simply uninstall and re-install the app. sorry for this inconvenience. |
https://www.dropbox.com/s/vktjzsa2kvitrii/dSploitd1.log?dl=0 -log |
As I bet. Thanks for your time. I can finally fix this issue 😊 Working on this. |
Ok, i'll wait for new version |
i was wrong, Read-only filesystem does not affect execute permissions. must probably is a selinux issue. there is an app for do it, so you can work without a PC 😉 thanks in advance 😊 |
Still not work |
it must be SELinux...
let study the "/system/bin/rm" case:
so, the only reason of EACCESS is SELinux. i'm going to download various android API arm system images to test cSploit on them using the emulator. if i cannot reproduce this bug on emulator i will ask your help again. |
Ok, no problems :) |
Tried v. 1.2.2 still not work |
@mcilya yep, i known. i can work on this issue only when i'm home. i'll write you there when i release a fix to test. |
hang on, i'm working on it, but got root on AVD is not easy with selinux... |
Good job! 😊 |
Need my help with testing? |
sorry but i left this issue behind because i cannot find a device with the same problem to work on. i asked to a couple of friends to try the program, thus to find a device to work on, but unluckily no one has this issue. i'll work on it as soon as i got an affected device. |
@cmayer0087 why did you deleted your post? were it wrong? i'm looking forward for your answer, i really want to fix this issue, but currently i have no way to working on it. |
Yes sorry, it was terribly wrong :) |
i think you are right tux-mind, seems to be an SELinux issue. On my device (Samsung Galaxy S5, Android 4.4.2) i can't deaktivate SELinux with setenforce. Mybe @mcilya is able to test this. There should be some apps in the play-store which can switch the mode. You can find some interesting informations about su and selinux here: |
@cmayer0087 |
Yes knox was disabled. But the stock kernel don't let me set SELinux to permissive mode. |
@cmayer0087 you're absolutely right, disabling SELinux is not a solution. I/We have to find a solution to the problem. my colleague told me that the stock android 5 image is available for my nexus 4, but now i'm working on network-monitor, the part of cSploit that will monitor the network, thanks for your help, i really need devs/testers now. |
I was able to run cSploitd unter the r:u:system_app:s0 context, so using exec or rather posix pipes by cSploitd should be permitted by SELinux. But the client can't communicate through socket due to the different contexts. I will switch the connection between client and daemon to local tcp and try if that work. |
@cmayer0087 that's a great news! thanks for all your efforts 😊 |
So there is no way to make it work on 5.0.0 and above... |
no @Rogue86 I have to finish the network-monitor, after that i will install lollipop on my Nexus 4. once I installed lollipop on my phone i will be able to make it work on 5.0 and above. so please wait 😁 will be great if @cmayer0087 can find out a solution for this problem. |
tried 1.3.0 still cannot start process if you want i can post logcat 😉 |
@mcilya yep, i didn't fixed this issue with last version, you logcat is not necessary, thanks anyway for you availability 😊 this problem still here. I have to put my paws on an affected device. I have a friend whit a Galaxy S3 Zoom ( it have an HUGE camera on the back ). I will ask him if I can play with it for a little. |
…ich is probably an opened socket. we will re-enable it if we'll support stderr too.
cannot start programs over certain devices, where exec returns EACCESS.
The text was updated successfully, but these errors were encountered: