Skip to content
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

Msoffice plugin fails to extract hashAlgorithm #57

Open
keymandll opened this issue Dec 30, 2017 · 0 comments
Open

Msoffice plugin fails to extract hashAlgorithm #57

keymandll opened this issue Dec 30, 2017 · 0 comments

Comments

@keymandll
Copy link

I have encountered an error while trying to brute-force an XLSX file. The msoffice plugin failed to extract the value of hashAlgorithm. This is because the end of the stream was garbled.

A quick fix that seemed to resolve the issue was a change to https://github.com/gat3way/hashkill/blob/master/src/plugins/msoffice.c. I updated line 286 to:

memcpy(&datasize,buf+index+130,4);

I just needed something quickly so it's unlikely this is a proper solution (it worked for me this time) but at least shows where attention is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant