Skip to content

Commit

Permalink
if/break condition in hashextractor
Browse files Browse the repository at this point in the history
  • Loading branch information
e-ago committed Jun 29, 2018
1 parent 47c46cf commit f604b8e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src_HashExtractor/bitcracker_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,19 @@ int rp_search_salt_aes() {
}

if(found_ccm == 1) break;
ret=fseek(encryptedImage, fp_before_aes, SEEK_SET);
FRET_CHECK(ret)
else if(y==0)
{
ret=fseek(encryptedImage, fp_before_aes, SEEK_SET);
FRET_CHECK(ret)
}
}

if(found_ccm == 1) break;
ret=fseek(encryptedImage, fp_before_salt, SEEK_SET);
FRET_CHECK(ret)
else if(x==0)
{
ret=fseek(encryptedImage, fp_before_salt, SEEK_SET);
FRET_CHECK(ret)
}
}

return 0;
Expand Down

0 comments on commit f604b8e

Please sign in to comment.