https://github.com/itstorque/ios_caml_dumper
iOS 13.5 Glyph CAML files and tool to get files with a certain extension from ls -laR output
https://github.com/itstorque/ios_caml_dumper
Last synced: over 1 year ago
JSON representation
iOS 13.5 Glyph CAML files and tool to get files with a certain extension from ls -laR output
- Host: GitHub
- URL: https://github.com/itstorque/ios_caml_dumper
- Owner: itstorque
- Created: 2020-07-01T14:09:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-06T09:31:31.000Z (almost 6 years ago)
- Last Synced: 2025-02-02T20:54:32.815Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 2.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CAML filedump from iOS 13.5
**DISCLAIMER**: None of the files in the directory [ios-13.5-glyphs](ios-13.5-glyphs)
are created/owned by the author of this repo, they are simply a copy of some
files found in iOS's `/System/Library/` directory.
[extract_files.py](extract_files.py) is a script that extracts certain file types
from a directory, specifically `.caml` files by default. It then generates two
files:
* [output.txt](output.txt) contains the list of CAML files in /System/Library on
an iOS 13.5 device, this should help locate CAML resources for glyphs.
* [scp_command.sh](scp_command.sh) contains an scp command that can be run to dump
the files from your iOS device. More information on running scp_command.sh can be
found in the [Running The Output Script](#Running-The-Output-Script) section.
## Usage
`extract_files.py -i -o -s -e -p -u `
The default values are:
`inputfile = 'ls_System_Library.txt'`
`outputfile = 'output.txt'`
`extension = 'caml'`
`script_file = 'scp_command.sh'`
`port = 2022`
`user_and_host = 'root@localhost'`
### Input File
The input file should be the output of `ls -laR` on your iOS device's
`/System/Library` directory. An easy way to do that is:
```bash
ls -laR /System/Library >> temp.txt
```
Then copy that file over using scp to your main device and feel free to delete
`temp.txt` on your remote machine.
## Running The Output Script
The output script file is meant to be run in an empty target directory, if the
directory isn't empty, the script won't run.
Give the file execution permission and run it in the target directory to populate
it with the output CAML files.
```bash
chmod +x [$path_to_script_file]
[$path_to_script_file]
```