Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Recommended Posts

Download link for the script: UPDATES****

Hidden Content
You'll be able to see the hidden content once you reply to this topic.

 

Steps:


Make a file .lldbinit in your home directory (.lldbinit is the first thing that lldb reads when it loads) do cd ~ to go to your home directory
	
	if you run as root then home dir = /var/root
	if you run without root home dir = /var/mobile
	
	
Add the following to the file

	settings set target.load-cwd-lldbinit true
	command script import custom.py
	
	
Place custom.py in /var/mobile (working directory)
start lldb
Commands:
	
ASLR : get aslr slide
set-bp -f 0xaddress : force breakpoint ***NEW
set-bp 0xaddress : set breakpoint (ASLR added)
write 0xaddress 0xvalue : write to memory, same as => memory write -s 4 0xaddress 0xvalue (address frorm lldb)
write -f 0xaddress 0xvalue : write directly to IDA offset ***NEW
convert -f 0xhexvalue : convert hex to 32 bit float value ***NEW
convert -h floatValue : convert float to hex value ***NEW
list-add -a 0xaddress functionName : save the address for future reference ***NEW
list-add -r 0xaddress : remove address from the list ***NEW
list-add -s : show all the saved addresses ***NEWe
usage : for help! ***NEW
get-adr 0xaddress : [get address - aslr], to find the IDA Address
	

If there are any errors or problems then contact me asap. Also, comment down features you would like in to be added in the script

Share this post


Link to post
Share on other sites

@maskman007 Hi, can you make the command write also included aslr slide? just like set-bp it included aslr slide so it will save more time

 

EDIT: Also when I use this, I can't use the command w s e -- 0xaddress to set a watchpoint ..

Share this post


Link to post
Share on other sites

@maskman007 Hi, can you make the command write also included aslr slide? just like set-bp it included aslr slide so it will save more time

 

EDIT: Also when I use this, I can't use the command w s e -- 0xaddress to set a watchpoint ..

I can do that for the write. What's the error with watchpoints?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...