maskman007 360 Report post Posted June 19, 2018 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 11 3 1 Zuwl, Mohamed99988, Admin and 12 others reacted to this Quote Share this post Link to post Share on other sites
Prophet 1 Report post Posted June 19, 2018 nice share Mask always a fan of your work and finds :) 1 maskman007 reacted to this Quote Share this post Link to post Share on other sites
Ezi 768 Report post Posted June 19, 2018 Niceee 2 ihackrock and maskman007 reacted to this Quote Share this post Link to post Share on other sites
ihackrock 0 Report post Posted June 19, 2018 Hi Quote Share this post Link to post Share on other sites
DoctorX 1 Report post Posted June 19, 2018 Thank you EDIT: Work like a charm, save a lot of times Quote Share this post Link to post Share on other sites
maskman007 360 Report post Posted June 19, 2018 Thank you EDIT: Work like a charm, save a lot of times:) Quote Share this post Link to post Share on other sites
maskman007 360 Report post Posted June 19, 2018 nice share Mask always a fan of your work and finds :)thanks bro :PPP Quote Share this post Link to post Share on other sites
ToeKneeZz 0 Report post Posted June 19, 2018 OooOooOOOOoooOoOOOoooOoooOOoo Quote Share this post Link to post Share on other sites
DoctorX 1 Report post Posted June 20, 2018 @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 .. Quote Share this post Link to post Share on other sites
maskman007 360 Report post Posted June 20, 2018 @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? Quote Share this post Link to post Share on other sites
DoctorX 1 Report post Posted June 20, 2018 I can do that for the write. What's the error with watchpoints?It said wrong command, it suggest me using write or watchpoint commands or something .. Quote Share this post Link to post Share on other sites
maskman007 360 Report post Posted June 20, 2018 It said wrong command, it suggest me using write or watchpoint commands or something ..try the full thing. Also pls send a screenshot if possible watchpoint set expression -- 0xaddress Quote Share this post Link to post Share on other sites
DoctorX 1 Report post Posted June 20, 2018 try the full thing. Also pls send a screenshot if possible watchpoint set expression -- 0xaddress This work! But the w s e command doesn't lol http://prntscr.com/jx9z7i Quote Share this post Link to post Share on other sites
maskman007 360 Report post Posted June 20, 2018 This work! But the w s e command doesn't lol http://prntscr.com/jx9z7iNice. Try this for the shorter version : wa s e -- 0xaddress Quote Share this post Link to post Share on other sites
DoctorX 1 Report post Posted June 21, 2018 Nice. Try this for the shorter version : wa s e -- 0xaddress yea this worked 1 maskman007 reacted to this Quote Share this post Link to post Share on other sites
maskman007 360 Report post Posted June 21, 2018 yea this workedupdated the list of commands :) 3 Mohamed99988, DoctorX and Mohamed889088 reacted to this Quote Share this post Link to post Share on other sites
KlashKsa 54 Report post Posted July 24, 2018 it will help me a lot to learn more. ty @maskman :inlove: 1 maskman007 reacted to this Quote Share this post Link to post Share on other sites
DoctorX 1 Report post Posted July 31, 2018 updated the list of commands :)Hey man, does this work with lldb windows version? Cause native lldb is not supported iOS 11 . I got debugserver for iOS 11working Quote Share this post Link to post Share on other sites
Many661 0 Report post Posted August 2, 2018 Thanks Quote Share this post Link to post Share on other sites
Z00r 0 Report post Posted August 14, 2018 thanks but wondering what it does (i am noob) Quote Share this post Link to post Share on other sites
MeSailesh7 1 Report post Posted August 19, 2018 Let’s try, feed back coming soon Quote Share this post Link to post Share on other sites
Yazar win 0 Report post Posted August 22, 2018 Thx Quote Share this post Link to post Share on other sites
Majooood 0 Report post Posted March 25, 2019 thx Quote Share this post Link to post Share on other sites
Hady2010 0 Report post Posted May 18, 2019 Thank you Quote Share this post Link to post Share on other sites
Namnguyen1471985 0 Report post Posted May 18, 2019 Thank Quote Share this post Link to post Share on other sites