Microsoft Word - iOSAppReverseEngineering.docx

(Romina) #1

think the most practical scene of MTerminal is to test private methods in Cycript when we’re


blanking out on the subway or something.


4.9 syslogd to /var/log/syslog


Figure 4- 27 syslogd to /var/log/syslog


syslogd is a daemon to record system logs on iOS, and “syslogd to /var/log/syslog” is used


to write the logs to a file at “/var/log/syslog”. You need to reboot iOS after you install this


tweak to automatically create the file “/var/log/syslog”. This file gets larger as time goes by,


you can zero clear it with the following command:


FunMaker-5:~ root# cat /dev/null > /var/log/syslog

4.10 Conclusion


We’ve introduced 9 tools in this chapter, among which CydiaSubstrate, LLDB and Cycript


are the top priorities. It is because of the existence of these iOS tools, along with the OSX toolkit


in chapter 3, that we get a complete iOS reverse engineering environment. There’s a famous


Chinese saying that we should know how as well as know why. Now that we’ve already known


how by finishing part 2 of this book, it’s time for us to know why in the next part. Stay tuned!

Free download pdf