From 2575a66ff6a1f008bedaab847b66846a92c229e0 Mon Sep 17 00:00:00 2001 From: Philippe Lagadec Date: Sat, 3 Jan 2015 14:50:20 +0100 Subject: [PATCH] olevba: added comments about executable filenames regex --- oletools/olevba.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index 88e1799..7a5b511 100644 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -93,6 +93,7 @@ https://github.com/unixfreak0037/officeparser # 2015-01-02 v0.11 PL: - improved filter_vba to detect colons # 2015-01-03 v0.12 PL: - fixed detect_patterns to detect all patterns # - process_file: improved display, shows container file +# - improved list of executable file extensions __version__ = '0.12' @@ -206,6 +207,8 @@ RE_PATTERNS = ( ('E-mail address', re.compile(r'(?i)\b[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\.)+(?:[A-Z]{2,12}|XN--[A-Z0-9]{4,18})\b')), ('Domain name', re.compile(r'(?=^.{1,254}$)(^(?:(?!\d+\.|-)[a-zA-Z0-9_\-]{1,63}(?