Jump to content

LLDB - Can't Attach


Go to solution Solved by Archangel04,

16 posts in this topic

Recommended Posts

Posted

Trying to attach,  getting this error:

iOZ:~ root# ./debugserver *:1234 -a "This War of Mine"
debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-320.2.89
 for arm64.
Attaching to process This War of Mine...
error: failed to attach to process named: "" 
Exiting.


iOZ:~ root# debugserver 192.168.2.103:1234 --attach=2467
debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-320.2.89
 for arm64.
Attaching to process 2467...
error: failed to attach process 2467: (os/kern) invalid address
Exiting.

 

Tried it with several games, yes, binary is cracked, thinned and has ASLR removed.

 

Anyone who knows what I'm doing wrong?

Posted (edited)

I had almost the same problem with my iPad 2 a few years ago... I had all hacking tools from cydia... Removed aslr cracked apps theos tools...

Looks so similar :o

 

 

Goodluck :)

Updated by Galmin
Posted

Sorry I can't help you, as I'm still working with GDB (it's going fantastic).

I might change to LLDB though if I stop procrastinating :)

Posted

Trying to attach,  getting this error:

 

iOZ:~ root# ./debugserver *:1234 -a "This War of Mine"
debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-320.2.89
 for arm64.
Attaching to process This War of Mine...
error: failed to attach to process named: "" 
Exiting.


iOZ:~ root# debugserver 192.168.2.103:1234 --attach=2467
debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-320.2.89
 for arm64.
Attaching to process 2467...
error: failed to attach process 2467: (os/kern) invalid address
Exiting.
Tried it with several games, yes, binary is cracked, thinned and has ASLR removed.

 

Anyone who knows what I'm doing wrong?

Is the binary 64 bit?

Posted (edited)

Is the binary 64 bit?

 

Yeah, when I find the offset in GamePlayer, it's still a 64-bit offset after thinning n all that

Updated by Guest
Posted

Yeah, when I find the offset in GamePlayer, it's still a 64-bit offset after thinning n all that

Download the game and crack it on a 32 bit device :p Thats why you are getting that error.

Posted

Download the game and crack it on a 32 bit device :p Thats why you are getting that error.

 

RIP, I don't have a 32-bit device xD

Posted

Download the game and crack it on a 32 bit device :p Thats why you are getting that error.

 

Just tried it with Smash Hit, which has a 32 bit binary, same problem :/

Posted (edited)

Update: I reinstalled LLDB 3 times, now it kinda works... I managed to attach to 1 application...

 

when trying to attach to the one I want too... I get this: 

 

 

Sometimes I get:

iOZ:~ root# ./debugserver *:1234 -a 2294

debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-320.2.89

 for arm64.

Attaching to process 2294...

Listening to port 1234 for a connection from *...

Failed to get connection from a remote gdb process.

Exiting.

 
And mostly: 
 
iOZ:~ root# ./debugserver *:1234 -a "Smash Hit"

debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-320.2.89
for arm64.
Attaching to process Smash Hit...
error: failed to attach to process named: ""
Exiting.

 
 
 
Why is it failing?  
Updated by Guest

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines