Last active
April 4, 2023 15:48
-
-
Save r-plus/50328b93e51e4a4642f7ae5f16efc677 to your computer and use it in GitHub Desktop.
Revisions
-
r-plus revised this gist
Apr 4, 2023 . 1 changed file with 30 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,36 @@ i7:~ mobile% ls -ld /var/mobile/Library/Preferences drwxr-xr-x 300 mobile mobile 9600 Apr 5 00:30 /var/mobile/Library/Preferences/ ``` ### `/var/jb/System/Library/PreferenceBundles` is not writable, `/var/jb/Library/{PreferenceBundles,PreferenceLoader}` is writable ``` i7:~ mobile% ls -l /var/jb/System/Library 合計 0 drwxr-xr-x 2 root wheel 64 Apr 4 23:49 Extensions/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 Fonts/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 Frameworks/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 Internet\ Plug-Ins/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 KeyboardDictionaries/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 LaunchDaemons/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 PreferenceBundles/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 PrivateFrameworks/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 SystemConfiguration/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 VideoDecoders/ i7:~ mobile% ls -l /var/jb/Library/ 合計 0 drwxr-xr-x 3 root wheel 96 Apr 4 23:50 Frameworks/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 LaunchAgents/ drwxr-xr-x 5 root wheel 160 Apr 4 23:49 LaunchDaemons/ drwxr-xr-x 3 root wheel 96 Apr 4 23:50 MobileSubstrate/ drwxr-xr-x 2 mobile staff 64 Mar 30 02:48 PreferenceBundles/ drwxr-xr-x 3 mobile staff 96 Apr 4 23:50 PreferenceLoader/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 Preferences/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 Ringtones/ drwxr-xr-x 2 root wheel 64 Apr 4 23:49 Wallpaper/ drwxr-xr-x 12 root wheel 384 Apr 4 23:50 dpkg/ ``` ### /var/jb is symlink ``` i7:~ mobile% ls -l /var/jb -
r-plus renamed this gist
Apr 4, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
r-plus revised this gist
Apr 4, 2023 . 1 changed file with 27 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ ### mobile user directory ``` i7:~ mobile% pwd /var/jb/var/mobile ``` ### mobile user home directory is empty ``` i7:~ mobile% ls -la ~ 合計 0 drwxr-xr-x 2 mobile mobile 64 Apr 5 00:27 ./ drwxr-xr-x 19 root wheel 608 Apr 4 23:49 ../ ``` ### `/var/mobile/Library/Preferences` directory still writable ``` i7:~ mobile% ls -ld /var/mobile/Library/Preferences drwxr-xr-x 300 mobile mobile 9600 Apr 5 00:30 /var/mobile/Library/Preferences/ ``` ### /var/jb is symlink ``` i7:~ mobile% ls -l /var/jb lrwxr-xr-x 1 root wheel 123 Apr 4 23:49 /var/jb -> /private/preboot/<LONG_RANDOM_ID>/procursus/ ``` -
r-plus created this gist
Apr 4, 2023 .There are no files selected for viewing