A whole lot of changes to make the code more device-oriented

This commit is contained in:
2019-12-10 16:25:11 -05:00
parent 572ce57230
commit 941c476251
13 changed files with 311 additions and 258 deletions

View File

@@ -3,11 +3,11 @@
int main()
{
int status = exploit_device();
if(status != 0)
struct pwned_device *dev = exploit_device();
if(dev == NULL)
{
printf("Failed to checkm8_remote device\n");
return status;
printf("Failed to exploit device\n");
return -1;
}
}