decrypt

package
v0.0.0-...-6437eea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2023 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(app *app.App, in []byte, recoveryPath string) ([]byte, error)

func Payload

func Payload(ep exploit.Parameters) ([]byte, error)

Payload creates a payload which decrypts 0x40 bytes from the DFU buffer into the DFU buffer using a zero IV and the Global key.

Note: If using CBC, this means the first block will be junk.

TODO(q3k): fix this by allowing to specify any IV. Didn't have luck reconstructing CBC this way so far, though...

func Trigger

func Trigger(usb *gousb.Device, ep exploit.Parameters, data []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL