The repository needs seven development packages plus libcurl transitives, which is where a fresh clone usually stops. The Dockerfile pins them on Debian trixie and builds the binary; README-REPRO explains the native path (start.sh already installs per-OS) and the container path, including the USB flags the sequence needs at run time.
1.2 KiB
Reproducir el build de tr4mpass (fix checkm8 A8/xHCI) en cualquier PC
Rama: fix/checkm8-a8-xhci (3 commits: F1, F0, F3).
Vía 1 — Nativo (la que usa USB directo, recomendada para correr)
El script start.sh detecta el SO e instala todas las dependencias y compila:
git clone <url-del-fork>
cd tr4mpass
./start.sh
start.sh usa sudo para instalar deps vía apt/brew/dnf/pacman/zypper/apk y corre
make clean && make. La iPad se conecta por USB a esa misma máquina.
Vía 2 — Contenedor (build reproducible, sin tocar el sistema)
podman build -t tr4mpass .
El Dockerfile (Debian trixie) instala libimobiledevice-dev libirecovery-1.0-dev libusb-1.0-0-dev libplist-dev libssl-dev libcurl4-openssl-dev libssh2-1-dev pkg-config build-essential usbutils usbmuxd y compila el binario.
Para correr dentro del contenedor hace falta pasar el USB directo:
podman run --rm -it --privileged -v /dev/bus/usb:/dev/bus/usb tr4mpass ./tr4mpass -v
Nota: el exploit necesita USB a nivel de controlador (libusb sobre el bus real). En un
contenedor eso exige --privileged + montar /dev/bus/usb; en una VM/WSL hace falta
además passthrough del dispositivo.