Sunday, 27 September 2020

Convert ida search lists into breakpoints

This is a simple script written in Python3. After searching instructions from IDA PRO, you can simply copy the entire list into `ida.txt` and run `python3 ida2br.py`. The output is saved to your clipboard automatically so you can just paste it in `lldb`. All breakpoints will be set but it might fail so you can delete all breakpoints and try again. Also, don't forget to get the offset and update it in `ida2br.py`. Otherwise, the address won't be correct. This script is useful for massive amount of breakpoints. As long as you are in the right direction, the address you are looking for should break eventually. However, there will be many breaks even before the program continues to run so you need to remove all of them manually. With time and patience, you should find the right address. In the future, I might write a script to remove incorrect addresses so that the program can run without manually removing breakpoints. This tool helped me finding right addresses for Puzzle & Dragons. I was looking for SUB.*#1$ so x - 1. It took some time but it worked because you have to -1 somewhere and it is inevitable. Brute force is often the worse solution but might be the best sometimes. Check the REPO for more. It has been 5 years since I last made any tweaks.

from iOSGods RSS Feed https://ift.tt/30tLRRZ

No comments:

Post a Comment