Skip to content
Guest Big Announcement

LLDB - Can't Attach

Featured Replies

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?

Solved by Archangel04

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

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 :)

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?

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

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.

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

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 :/

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

The only app that I've got it to work on is GoRadar, and once on Hay Day

The only app that I've got it to work on is GoRadar, and once on Hay Day

I really have no clue

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.