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

rtfobj.py cannot handle uppercase Comment cword obfuscation inside objdata #760

Open
arpitest opened this issue Apr 17, 2022 · 0 comments
Open
Assignees
Milestone

Comments

@arpitest
Copy link

found rtf file with such objdata obfuscation method:
{*\objdata 0105000002000000
09000{*\Comment: NYnvC2fji...eSs9iMZ}0004f{*\Comment: W9PwfYW96HEpr etc.

i had to change this:
if cword in DESTINATION_CONTROL_WORDS:
to:
if cword.lower() in DESTINATION_CONTROL_WORDS:

i'm not sure if this is the proper fix, maybe accepting any cword is better?

@decalage2 decalage2 self-assigned this Apr 18, 2022
@decalage2 decalage2 added this to the oletools 0.60 milestone Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants