Don't re-exploit device
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
|
.idea/*
|
||||||
cmake-build-debug/*
|
cmake-build-debug/*
|
||||||
|
|||||||
@@ -108,7 +108,10 @@ int check_function(struct libusb_device_bundle *bundle)
|
|||||||
|
|
||||||
int exploit_device()
|
int exploit_device()
|
||||||
{
|
{
|
||||||
int ret = complete_stage(stage1_function);
|
int ret = complete_stage(check_function);
|
||||||
|
if(ret == 0) return ret;
|
||||||
|
|
||||||
|
ret = complete_stage(stage1_function);
|
||||||
if(ret == 0)
|
if(ret == 0)
|
||||||
{
|
{
|
||||||
ret = complete_stage(stage2_function);
|
ret = complete_stage(stage2_function);
|
||||||
|
|||||||
Reference in New Issue
Block a user