docs: translate the build files and keep the branch summary current
This commit is contained in:
parent
251b2df39c
commit
77cfede879
2 changed files with 23 additions and 21 deletions
|
|
@ -1,36 +1,38 @@
|
|||
# Reproducir el build de tr4mpass (fix checkm8 A8/xHCI) en cualquier PC
|
||||
# Reproducing the build of tr4mpass (checkm8 A8/xHCI branch)
|
||||
|
||||
Rama: `fix/checkm8-a8-xhci` (3 commits: F1, F0, F3).
|
||||
Branch: `fix/checkm8-a8-xhci`.
|
||||
|
||||
## Vía 1 — Nativo (la que usa USB directo, recomendada para correr)
|
||||
## Option 1 — Native (recommended for actually running it)
|
||||
|
||||
El script `start.sh` detecta el SO e instala todas las dependencias y compila:
|
||||
`start.sh` detects the OS, installs every dependency and builds:
|
||||
|
||||
```
|
||||
git clone <url-del-fork>
|
||||
git clone <repo-url>
|
||||
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.
|
||||
It installs packages through apt/brew/dnf/pacman/zypper/apk (needs `sudo`) and
|
||||
runs `make clean && make`. The device must be connected by USB to that same
|
||||
machine.
|
||||
|
||||
## Vía 2 — Contenedor (build reproducible, sin tocar el sistema)
|
||||
## Option 2 — Container (reproducible build, nothing installed on the host)
|
||||
|
||||
```
|
||||
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.
|
||||
The Dockerfile (Debian trixie) installs `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` and `usbmuxd`, then builds the binary.
|
||||
|
||||
Para correr dentro del contenedor hace falta pasar el USB directo:
|
||||
Running inside the container needs the USB bus passed through:
|
||||
|
||||
```
|
||||
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.
|
||||
Note: the sequence drives EP0 directly through libusb, so it needs the real USB
|
||||
bus. Inside a container that means `--privileged` plus mounting `/dev/bus/usb`;
|
||||
inside a VM or WSL it needs device passthrough as well.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue