Jump to content

LLDB Debugger Working with Watchpoints iOS 11 [ Electra ]


95 posts in this topic

Recommended Posts

Posted
25 minutes ago, mikeyb said:

this should work fine for 11.3.1

Then I dunno why it says "debugserver: command not found"

Posted
2 minutes ago, Amuyea said:

Then I dunno why it says "debugserver: command not found"

when?

when trying to attach u have to /usr/bin/debugserver localhost:6666 -a <the pid> or bin

Posted

This tutorial looks awful lot like mine ?. In any case this doesnt work for 11.3.1.

Posted
10 minutes ago, mikeyb said:

when?

when trying to attach u have to /usr/bin/debugserver localhost:6666 -a <the pid> or bin

This part

In 1 terminal Type 

debugserver device ip
debugserver will start 

in the other terminal Type

ps ax
this will show you pid of debugserver

now type

/electra/jailbreakd_client <debugserver pid> 1

Debigserver doesn't start for me :dunno:

  • Like 1
Posted
1 minute ago, Amuyea said:

This part


In 1 terminal Type 

debugserver device ip
debugserver will start 

in the other terminal Type

ps ax
this will show you pid of debugserver

now type

/electra/jailbreakd_client <debugserver pid> 1

Debigserver doesn't start for me :dunno:

it should say something like debugserver listening on port

 

9 minutes ago, lHectorl said:

This tutorial looks awful lot like mine ?. In any case this doesnt work for 11.3.1.

don't see how this is like yours mate, only thing same is the attaching of debugserver

Posted

like this

Last login: Fri Aug 17 13:51:09 on ttys003

mikeys-Mac-Pro:~ mikey$ ssh -p 2222 root@localhost

root@localhost's password:

mikeys-iPad:~ root# debugserver 192.168.0.106

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

for arm64.

Listening to port 192 for a connection from 127.0.0.1...

 

mikeys-iPad:~ root# /electra/jailbreakd_client 661 1

mikeys-iPad:~ root# /usr/bin/debugserver localhost:6666 -a 617

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

for arm64.

Attaching to process 617...

Listening to port 6666 for a connection from localhost...

Waiting for debugger instructions for process 617.

 

(lldb) w s e — 0x11fe30c00

Watchpoint created: Watchpoint 2: addr = 0x11fe30c00 size = 8 state = enabled type = w

new value: 3279

(lldb) c

Process 617 resuming

Watchpoint 2 hit:

old value: 3279

new value: 3279

Process 617 stopped

* thread #1, name = 'Unity Thread', queue = 'com.apple.main-thread', stop reason = watchpoint 2

frame #0: 0x0000000101703d78 TropicThunderDev`_mh_execute_header + 7732600

TropicThunderDev`_mh_execute_header:

-> 0x101703d78 <+7732600>: ldr x20, [x19, #0x30]

0x101703d7c <+7732604>: adrp x24, 9017

0x101703d80 <+7732608>: add x24, x24, #0xeb8 ; =0xeb8

0x101703d84 <+7732612>: ldr x0, [x24]

Target 0: (TropicThunderDev) stopped.

Posted
mikeys-iPad:~ root# debugserver 192.168.0.106

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

for arm64.

That's your way. But it doesn't work on mine.

But this command works too 

/usr/bin/debugserver IP

 

Posted
2 minutes ago, Pradeep6868 said:

@mikeyb do we set the the downloaded file in MacOS /usr/bin/ or Mobile  /usr/bin/? 

Mobile  /usr/bin/

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