Skip to content

Instantly share code, notes, and snippets.

View h4x0r's full-sized avatar

Albert Hui h4x0r

View GitHub Profile
@h4x0r
h4x0r / ipagrabber.py
Last active February 26, 2025 15:46 — forked from n0mi1k/ipagrabber.py
.IPA file extracter for Apple Configurator
import os
import shutil
"""
Steps to retrieve the IPA file from the Configurator app:
1. Install Apple Configurator from the Mac App Store and sign in
2. Connect your iOS device to your Mac
3. Select "Add > Apps..." and search for the app you want to install, click "Add"
4. The newer Apple Configurator deletes the IPA after installing it, so you'll need to use this tool to grab it
@h4x0r
h4x0r / mount_e01.sh
Last active April 20, 2024 10:37
Mount .e01 on Mac
# first manually install macFUSE (https://github.com/osxfuse/osxfuse/releases)
brew uninstall libewf # Homebrew libewf isn't compiled with libfuse support
# download libewf (libewf-experimental-20231119.tar.gz)
mkdir -p ~/src && cd ~/src
wget -O- https://github.com/libyal/libewf/releases/download/20231119/libewf-experimental-20231119.tar.gz | tar zxvf -
cd libewf-20231119
CFLAGS="-I/opt/homebrew/include -L/opt/homebrew/lib" ./configure --enable-wide-character-type=yes
sudo make install
sudo ewfmount -X volicon=/Library/Filesystems/macfuse.fs/Contents/Resources/Volume.icns foo.e01 /Volume/foo
sudo hdiutil attach -imagekey diskimage-class=CRawDiskImage /Volumes/foo/ewf1

Keybase proof

I hereby claim:

  • I am h4x0r on github.
  • I am alberthui (https://keybase.io/alberthui) on keybase.
  • I have a public key whose fingerprint is 162A 19C5 B066 55F5 0DB2 FAC8 6525 2496 00FE 448C

To claim this, I am signing this object: