From cac5370df26ccfbcc85d2b85c6bb320316d8910e Mon Sep 17 00:00:00 2001 From: CLARATION Date: Wed, 22 Jul 2026 19:41:16 -0700 Subject: [PATCH] chore: document code some more --- src/exploit.c | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/src/exploit.c b/src/exploit.c index cfabb63..a05ec05 100644 --- a/src/exploit.c +++ b/src/exploit.c @@ -114,12 +114,19 @@ const char* err_to_string(int err) { #if WITH_CIDERRAIN // MARK: exploit (libciderra1n) -// NOTE: this backend is NOT publicly available +// NOTE: this backend is NOT publicly available +// // ciderra1n is based on the checkra1n 1337 implementation // of the checkm8 exploit using DFU aborts instead of usb resets +// // this supports Linux (liteusb), and Darwin (IOKit) +// +// this also fixes a lot of issues with AMD devices. +// // this also supports A7 devices. +// +// windows eta s0n? int exploit(int *stage) { @@ -280,13 +287,27 @@ int exploit(int *stage) #else // WITH_CIDERRAIN // MARK: exploit (libopenra1n) -// NOTE: this backend is publicly available +// NOTE: this backend is publicly available +// // openra1n is based on the gaster implementation of the exploit // which is the more well-known implementation of checkm8 -// this supports Windows (Libusb), Linux (Libusb), and Darwin (IOKit) -// on the contrary while gaster *does* support A7, openra1n does not. -// (yet to be implemented, cc @Mineek) +// +// supports Windows (Libusb), Linux (Libusb), and Darwin (IOKit) +// +// does not support AMD devices, AMD mobile will probably work though. +// +// on the contrary while gaster *does* support A7, openra1n does +// not. (yet to be implemented, cc @Mineek) +// +// Windows is technically *supported*, but during or before the +// exploit process libusbK drivers will need to be installed due +// to needing USB resets. However, this breaks other things within +// the TUI, GUI (... I think anyway) and itunes itself, and requires +// the drivers to be uninstalled afterwards for standard usage again. + +// TODO: add support for A7 devices, and AMD devices +// TODO: libusbK driver installation? int exploit(int *stage) {