Skip to content

Msoffice plugin fails to extract hashAlgorithm #57

@keymandll

Description

@keymandll

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions