Microsoft Word - iOSAppReverseEngineering.docx

(Romina) #1

Fire 3- 11 Library directory structure


If compared with the contents of deb package:


snakeninnysiMac:iosreproject snakeninny$ dpkg -c com.iosre.iosreproject_0.0.1-
7_iphoneos-arm.deb
drwxr-xr-x snakeninny/staff 0 2014 - 12 - 03 11:35 ./
drwxr-xr-x snakeninny/staff 0 2014 - 12 - 03 11:35 ./Library/
drwxr-xr-x snakeninny/staff 0 2014 - 12 - 03 11:35 ./Library/MobileSubstrate/
drwxr-xr-x snakeninny/staff 0 2014 - 12 - 03
11:35 ./Library/MobileSubstrate/DynamicLibraries/


  • rwxr-xr-x snakeninny/staff 98784 2014 - 12 - 03
    11:35 ./Library/MobileSubstrate/DynamicLibraries/iOSREProject.dylib

  • rw-r--r-- snakeninny/staff 175 2014 - 12 - 03
    11:35 ./Library/MobileSubstrate/DynamicLibraries/iOSREProject.plist


And the files of iOSREProject seen in Cydia, as shown in figure 3-12.


Figure 3-13 iOSREProject files


We can see that they have the same directory structures, and you may have already guessed


that this deb package is simply a combination of “DEBIAN” which contains debian information,


and “Library” which contains the actual files. In fact, we can also create a “layout” folder under


the current project directory before packaging and installing the project on iOS. In this way, all


files in “layout” will be extracted to the same positions of iOS filesystem (“layout” mentioned

Free download pdf