Giter Club home page Giter Club logo

Comments (35)

Systemad avatar Systemad commented on July 17, 2024

Every time I start I get this error

from android.

ada-af avatar ada-af commented on July 17, 2024

Did you tried to fully reinstall csploit or reboot your phone?

from android.

Systemad avatar Systemad commented on July 17, 2024

I know what the problem is now. Every time I Grant SuperSU access I get that error.

from android.

Systemad avatar Systemad commented on July 17, 2024

Here is my logcat http://pastebin.com/T88ubkyC

from android.

DominikTV avatar DominikTV commented on July 17, 2024

Do you use Lollipop (Android 5.0)?

from android.

Systemad avatar Systemad commented on July 17, 2024

@DominikTV I am using ARHD 82.0 Android 4.4.3 HTC one m7

from android.

sir0x1 avatar sir0x1 commented on July 17, 2024

Client cannot connect to cSploitd-Daemon:
E/cSploitClient(10485): connect_unix: connect: No such file or directory

Attatch the file Android/data/org.csploit.android/files/cSploitd.log on your sdcard, please.

from android.

Systemad avatar Systemad commented on July 17, 2024

https://mega.co.nz/#!BpFyxKpT!OJ6A3Im37d10LktE8VVI0xM0x19kwfrW_kFF833unjw

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@Systemad you sent the wrong file, is cSploitd.log not cSploitd.

please report if the file is not present.

as the name say, nightly builds are not stable,
in fact i still have to test the changes made by @cmayer0087 .

i'm almost done with the network-monitor ( i'm developing a workaround for a kernel problem 😲 ), after this i'll resume working on the Java side and fix this issue too.

from android.

Systemad avatar Systemad commented on July 17, 2024

The log file doesn't exits. I have looked both on /Android/data/org.cSploit.Android/files. And data/data/org.cSploit.Android

from android.

sir0x1 avatar sir0x1 commented on July 17, 2024

if this file doesn't exists it's likely, that the cSploit-daemon was not restarted.
Restart your Phone and try again, please.

from android.

Systemad avatar Systemad commented on July 17, 2024

I did, and I am using multirom and so I tried on CM11 (in case if it was my ROM) and got same error.

from android.

Systemad avatar Systemad commented on July 17, 2024

And still no cSploitd .log

from android.

xaitax avatar xaitax commented on July 17, 2024

Sorry guys, there will some building issues on the server and I was busy within flights.. I will manually built the nightly in a few minutes. But it will only fix the commit on 30th of November as there is nothing new.
Cheers.

from android.

rigid avatar rigid commented on July 17, 2024

same here...

from android.

sir0x1 avatar sir0x1 commented on July 17, 2024

I have bought a tablet, on which the same issue occurs. Files don't have execution permission on the sdcard. The first option is to remount the sdcard with the proper permissions. The second is to find a directory whereto we could move the stuff. Maybe we shoud create a dictionary in /system like BusyBox does. What do you think @tux-mind ?

from android.

n3vermind avatar n3vermind commented on July 17, 2024

Same issue occurs on CM11, old files location (/data/data/org.csploit.android/files) seems to work correctly though. Isn't remounting sdcard with exec some kind of a security risk?

from android.

rigid avatar rigid commented on July 17, 2024

it is. πŸ‘

from android.

bionictrip avatar bionictrip commented on July 17, 2024

had this issue on cm11. had to change permissions on csploitd in /data/media/0/Android/data/org.csploit.android/files
file.setExecutable(true, false); in the tools installer apparently didn't really do anything.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@cmayer0087 changing mount flags of /sdcard is totally unacceptable.
it's an huge security risk.

why did you put the daemon on the sdcard ?

from android.

sir0x1 avatar sir0x1 commented on July 17, 2024

@bionictrip fat32 doesn't support linux permissions, so you can't set it per file.

@tux-mind because on galaxy-devices a binary isn't allowed to use fork if it is under the /data directory:
https://github.com/gokulnatha/GT-I9500/blob/master/arch/arm/kernel/sys_arm.c#L175
Thats why #1 occured on my device.

Using for example /system/csploit will fix both #1 and this issue, but that directory isn't auomatically deleted on deinstallation of csploit.

from android.

rigid avatar rigid commented on July 17, 2024

here, the /data/data/org.csploit.android/files directory is empty, which results in some ENOENT errors. (also CM11 on Samsung Galaxy S3)

from android.

rigid avatar rigid commented on July 17, 2024

another idea may be bind mount (if thats possible on android?) to another directory (is /system the only choice?)
afaik /system stuff is usually deployed using update.zip archives + recovery bootloader.

is fork() really necessary? :-)

from android.

sir0x1 avatar sir0x1 commented on July 17, 2024

The partitions except /system, /data and sdcard are not destined to contain much data or binaries or doesn't exists on every device.

Bind mount is an interesting idea.

Yes we really need fork πŸ˜ƒ

from android.

sir0x1 avatar sir0x1 commented on July 17, 2024

Fork seems only be restricted if the process is executed as root. If the daemon is executed under as non root user, the daemon should be allowed to use fork. I will check that.

from android.

Efreak avatar Efreak commented on July 17, 2024

How about creating a loop file system on the sdcard or in the data dir, and mounting that inside the sdcard? I have no idea if this would work, or how linux mount options work with inheritance (or whatever), but I know that Linux Deploy works fine for me and I think it does something like this with a chroot. I've been considering using Kali on Linux Deploy instead of csploit, but then I don't get a nice android GUI.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@cmayer0087 why the su binary could execute /data/data/org.csploit.android/files/cSploitd in previous versions ?

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@Efreak it may works, but it's a tricky way to work.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@cmayer0087 we need root privileges. every child that we spawn need them.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@cmayer0087 i reverted your commit that moves executables from /data to /sdcard .

we need to study another way to fix #1 , let's talk on it.

i made a new branch that track the repo before i reverted your stuff.

from android.

rigid avatar rigid commented on July 17, 2024

that fixed the issue for me

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@rigid thanks for the feedback.

if anyone else still have this problem please reopen it.

i will pay more attention on pull requests, sorry for the inconvenience guys.

from android.

k3an3 avatar k3an3 commented on July 17, 2024

I am still getting this on the latest nightly and release, Nexus 5 on CM12. http://pastebin.com/hEumYbEX
I notice two things in this log: 1. The socket it is looking for does not exist (I double checked /dev/socket) 2. Only PIE execs are supported, meaning we can't just run a native binary out of any directory. This will be a problem for anybody on Android L.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@keaneokelley thanks for the report.
building it statically will fix the issue, but will increase binary size.

since the daemon it's a long-lived process i prefer to provide 2 different versions of the binaries.

please open a new issue so i can refer to that one.
this is related to an old mistake i made with a pull request.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

@keaneokelley nevermind, it has already been reported in #18 .

will fix ASAP.

from android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.