From 1f318944cbf8c01b9415e384cfb23230a561c955 Mon Sep 17 00:00:00 2001 From: Philippe Lagadec Date: Sat, 3 Jan 2015 14:32:16 +0100 Subject: [PATCH] olevba: improved display --- oletools/olevba.py | 46 +++++++++++----------------------------------- 1 file changed, 11 insertions(+), 35 deletions(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index 12b1e37..88e1799 100644 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -98,9 +98,7 @@ __version__ = '0.12' #------------------------------------------------------------------------------ # TODO: -# + process several files in dirs or zips with password # + do not use logging, but a provided logger (null logger by default) -# + nicer output # + setup logging (common with other oletools) # + update readme, wiki and decalage.info, pypi (link to sample files) @@ -207,7 +205,7 @@ RE_PATTERNS = ( ('IPv4 address', re.compile(r"\b(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\b")), ('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}(?