mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 10:39:48 +02:00
chore: document code some more
This commit is contained in:
1 file changed
+26
-5
+26
-5
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user