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

Extractcustomvars #114

Merged
merged 8 commits into from
May 8, 2019
Merged

Extractcustomvars #114

merged 8 commits into from
May 8, 2019

Conversation

DissectMalware
Copy link
Contributor

get_document_variables function extracts all stored document variables from a doc file.

Variables that are created by (ActiveDocument.Variables.Add)
https://support.microsoft.com/en-us/help/306281/how-to-store-and-retrieve-variables-in-word-documents

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.9%) to 59.698% when pulling caa829c on InQuest:extractcustomvars into e56b720 on decalage2:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.9%) to 59.698% when pulling caa829c on InQuest:extractcustomvars into e56b720 on decalage2:master.

@coveralls
Copy link

coveralls commented Mar 5, 2019

Coverage Status

Coverage decreased (-8.4%) to 54.28% when pulling 70f9887 on InQuest:extractcustomvars into abbce3c on decalage2:master.

@decalage2
Copy link
Owner

Hi, are user defined properties following the same format for all MS Office apps (Word, Excel, Powerpoint, etc)? If so, I'm ok to include it in olefile. Having test files would help a lot.
Otherwise, as document variables are specific to MS Word, I think it would fit better in oletools.

@DissectMalware
Copy link
Contributor Author

I think properties are same for these formats but I will check and back to you soon

@DissectMalware
Copy link
Contributor Author

I have tested doc,ppt,xls samples. The code can extract user defined properties from all of them

excel
excel-res
powerpoint
powerpoint-res
word
word-res

@decalage2 decalage2 merged commit 82a0373 into decalage2:master May 8, 2019
@decalage2 decalage2 added this to the olefile 0.47 milestone May 8, 2019
@DissectMalware DissectMalware deleted the extractcustomvars branch October 13, 2019 19:06
decalage2 added a commit that referenced this pull request Oct 7, 2020
decalage2 added a commit that referenced this pull request Nov 22, 2023
…ific (will be moved to oletools), introduced in PR #114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants