Various improvements, including execute ability

This commit is contained in:
2019-12-13 14:53:20 -05:00
parent c3fe7fd540
commit 3caa14603f
10 changed files with 177 additions and 83 deletions

View File

@@ -3,8 +3,8 @@
#include "checkm8.h"
#define PAYLOAD_FOUND 0
#define PAYLOAD_NOT_FOUND -1
#define PAYLOAD_AES_BIN CHECKM8_BIN_BASE "payloads/payload_aes.bin"
#define PAYLOAD_SYSREG_BIN CHECKM8_BIN_BASE "payloads/payload_sysreg.bin"
typedef enum
{
@@ -21,6 +21,6 @@ typedef enum
int install_payload(struct pwned_device *dev, PAYLOAD_T p, LOCATION_T loc);
int uninstall_payload(struct pwned_device *dev, PAYLOAD_T p);
int execute_payload(struct pwned_device *dev, PAYLOAD_T p, ...);
int execute_payload(struct pwned_device *dev, PAYLOAD_T p, int nargs, ...);
#endif //IPWNDFU_REWRITE_C_PAYLOAD_H