hashkill icon indicating copy to clipboard operation
hashkill copied to clipboard

Msoffice plugin fails to extract hashAlgorithm

Open keymandll opened this issue 8 years ago • 0 comments

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.

keymandll avatar Dec 30 '17 14:12 keymandll