Added demotion capability

This commit is contained in:
2020-02-09 11:12:04 -05:00
parent e341d51bf9
commit 79d3b72d15
4 changed files with 315 additions and 17 deletions

View File

@@ -19,6 +19,7 @@
#define DEV_IDVENDOR 0x05AC
#define DEV_IDPRODUCT 0x1227
#define DFU_IMAGE_BASE 0x1800B0000ull
#define DEMOTE_REG 0x2102BC000ull
#else
#error "Unspported checkm8 platform"
@@ -45,6 +46,7 @@ struct pwned_device
};
struct pwned_device *exploit_device();
int demote_device(struct pwned_device *dev);
void free_device(struct pwned_device *dev);
#endif //CHECKM8_TOOL_CHECKM8_H