-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Code reworked - added two different salt and aes offsets #3331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There is a typo in the user password printf. You need to replace this line: |
Thanks @e-ago. Fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our code style also says NOT to use camelCase variable names but we break that in many places.
src/bitlocker2john.c
Outdated
fprintf(stderr, "VMK encrypted with AES-CCM (%lx)\n", (ftell(fp)-2)); | ||
found_ccm = 1; | ||
fseek(fp, 3, SEEK_CUR); | ||
static int rp_search_salt_aes() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code style - should be
- static int rp_search_salt_aes() {
+ static int rp_search_salt_aes(void)
+ {
src/bitlocker2john.c
Outdated
int ret=0, x, y; | ||
|
||
for(x=0; x < 2; x++) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code style - should be
- for(x=0; x < 2; x++)
- {
+ for (x = 0; x < 2; x++) {
Many more similar cases below.
I am going to fix these style issue one last time on @e-ago's behalf. |
The additional AES offset is not enabled until we can't prove that it is correct.
Tested with https://github.com/e-ago/bitcracker/blob/master/Images/imgWin10Compat.vhd (password is |
@kholia thank you |
The additional AES offset is not enabled until we can't prove that it is correct.
This is essentially #3293 (bitlocker2john code reworked).
I am trusting @e-ago in this PR to do the right thing.