mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-30 13:09:48 +01: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
|
#if WITH_CIDERRAIN
|
||||||
|
|
||||||
// MARK: exploit (libciderra1n)
|
// 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
|
// ciderra1n is based on the checkra1n 1337 implementation
|
||||||
// of the checkm8 exploit using DFU aborts instead of usb resets
|
// of the checkm8 exploit using DFU aborts instead of usb resets
|
||||||
|
//
|
||||||
// this supports Linux (liteusb), and Darwin (IOKit)
|
// this supports Linux (liteusb), and Darwin (IOKit)
|
||||||
|
//
|
||||||
|
// this also fixes a lot of issues with AMD devices.
|
||||||
|
//
|
||||||
// this also supports A7 devices.
|
// this also supports A7 devices.
|
||||||
|
//
|
||||||
|
// windows eta s0n?
|
||||||
|
|
||||||
int exploit(int *stage)
|
int exploit(int *stage)
|
||||||
{
|
{
|
||||||
@@ -280,13 +287,27 @@ int exploit(int *stage)
|
|||||||
#else // WITH_CIDERRAIN
|
#else // WITH_CIDERRAIN
|
||||||
|
|
||||||
// MARK: exploit (libopenra1n)
|
// 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
|
// openra1n is based on the gaster implementation of the exploit
|
||||||
// which is the more well-known implementation of checkm8
|
// 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.
|
// supports Windows (Libusb), Linux (Libusb), and Darwin (IOKit)
|
||||||
// (yet to be implemented, cc @Mineek)
|
//
|
||||||
|
// 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)
|
int exploit(int *stage)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user