Closed NewbieDew closed 7 years ago
made some updates to the installpro command, let me know if it works now, what device do you have?
Newest gets stuck on "Waiting for connection" after using the payload. Both on iPhone 6 and 6S running 10.2 Yalu
I will look into it, I am going to add some debug logs to get help communicate these types of issues more in depth
are you connecting to your external ip through a port forwarded router?
Yes I am, and it worked fine with the earlier versions, though installpro has never seemed to work for me. All non pro has though
can you confirm that the payload is being executed after it is sent?
also, is your lhost set to your public ip?
Where can I check if it's being executed? sorry for asking :P
Also, the Ihost is set to my ruter's IP and the port is forwarded through my local IP. This has worked with all versions of Eggshell except this one.
if you have terminal on the target device, you can run the command top (from cydia) and see if there is a process called ".espl"
do you have the latest version of eggshell? with the updated binaries?
I am on the newest version yes. And here is a ss of the command
That' after I've run the code and waiting for connection
ok, I was able to recreate your issue, narrowing in on what is happening. I will see if I can fix it today
Sounds great! I'll wait, just tell me if you need anuthing else
The problem ended up being the wrong ip in eggshell, for me this caused a connection to be established but since the payload was given wrong ip parameter, it would not connect back to the correct ip, leaving it stuck "waiting for connection". Also, maybe bash is stuck for you? try killall -9 bash and try the server again
It wont let me kill it, it just says "No matching processes belonging to you were found"
are you killing it as root?
I've tried both, same result
EDIT, when running the script as root on the phone I get connected. And all commands are working fine
Still nothing without running as root though
no connection at all without root?
ps, installpro requires root
Ok,. then we know why I never got installpro before, haha. But yeah, there's still no access without root.
no connection at all without root? @neoneggplant we fixed that.
@nerdtron123 was it changing the upload directory?
@nerdtron123 the reason in uploaded to /usr/bin is because it would break commands listapps and sbalert if not uploaded there
@neoneggplant that breaks non-root connections.
yeah but there currently isn't a work around, we could check if /usr/bin is writable, and fallback to /tmp in the preload @nerdtron123
or chmod the directory to make it writable with mobile? would that be doable?
@neoneggplant look at my pull request
This issue has been resolved please close it
This has happened to me every time I try to use installpro.
Iphone 6 Ios 10.2 Latest Yalu beta