Skip to content

Instantly share code, notes, and snippets.

@mint177
mint177 / RTF obfuscation techniques.rtf
Last active October 14, 2021 19:39
RTF obfuscation techniques
{\rt- RTF SPECIFICATION SUCKS
{\u0097}}
{\uc2 \u0098}}}
{\uc2 \u0099\'**}}
{\uc2 \uc31682 \u0101}
{\u0100}}
{\uc-1 \u0102}
{\object\objemb\objw-\objh-
@mint177
mint177 / supported RTF control commands.py
Created November 29, 2018 06:01
supported RTF control commands
# -*- encoding: UTF-8 -*-
SPECIAL_DATA_CONSUMERS = { # assume that only "Destination" control words consume data
"keycode": False, # Destination
"maln": False, # Destination
"margSz": True, # Value
"mmath": False, # Destination
"mmathPr": False, # Destination
"private": False, # Destination