Logo white

Peter M. Groen / oletools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 1,521
  • Compare
  • Branches 1
  • Tags 0
  • oletools
15 Oct, 2018
11 commits
  • log_helper: remove constructor from JSON formatter ...
    660ea766
    We only use it to initialize a field, but since it depends
    on an external module, it's better to avoid use it and
    prevent things from breaking if that changes.
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • log_helper: always use get_or_create_silent_logger ...
    8c9182a7
    Oletools always use the NullHandler and a high log level,
    so there's no need for an extra function.
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • log_helper: remove NullHandler class ...
    ffc71fcb
    This class was only necessary for Python 2.6, but as the support
    for that version was dropped it's not needed anymore.
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • unittest: Simplify running from command line ...
    a4f86aa2
    Unittests worked on Travis and from IDEs like PyCharm, but from
    command line I had to change log helper test root dir to one level up
    and unset PYTHONPATH
    Christian Herdtweck authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • unittest: remove OutputCapture (not needed any more) ...
    e310b9bb
    The OutputCapture was a slightly hacky way to get output from scripts without
    using subprocess. However, keeping it working started requiring reloads since
    module's logs are global variables which were re-initialized which caused
    trouble). That required reload of all submodules, so more hacks are needed
    to keep the initial hack "alive". Therefore I am glad it is not needed any more
    and can be removed.
    Christian Herdtweck authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • unittest: remove json tests (are included in log tests)
    e1d931de
    Christian Herdtweck authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • ooxml: use log helper ...
    43fc21ce
    ooxml was changed to use our custom log helper
    so that it can also output JSON messages whenever
    a caller that uses the -j flag has JSON output
    set.
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • msodde: simplify unit tests ...
    6c43d28d
    Some msodde tests call the main() function from the module
    which tries to enable logging, causing lots of problems
    when running multiple tests due to the singleton dependency
    of the logging modules.
    
    Since what they want to test is whether msodde is finding
    links, we can use the process_file() function directly
    instead and check its output.
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • msodde: use log helper ...
    6bf5b9c9
    msodde was changed to use the log helper, which adds
    better support for JSON output. Since we also changed
    ooxml, now we have full JSON output for any level
    (including debug) and for ooxml messages.
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • log helper: add unit tests
    e22a452f
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »
  • add log helper ...
    fffedc77
    Adds a log helper module that can be used by all modules and
    handles logging in general, avoiding code duplication. It also
    handles JSON output formatting by logging all messages in JSON
    format, thus making it easy for modules to support the `-j` flag.
    
    The module works by overwriting the default logging class to
    extend its behavior (adding a function to always log, useful for
    banners and other stuff). The JSON format uses a special formatter
    that will output JSON from a string or a dictionary.
    Samir Aguiar authored
    2018-10-15 10:28:03 +0200  
    Browse Code »

09 Oct, 2018
2 commits
  • olevba: backspace characters are displayed in red using colorclass (issue #358)
    26b43390
    decalage2 authored
    2018-10-09 21:34:49 +0200  
    Browse Code »
  • olevba: added SUSPICIOUS_KEYWORDS_NOREGEX, backspace characters are reported as … ...
    539454c9
    …suspicious (issue #358)
    decalage2 authored
    2018-10-09 21:23:53 +0200  
    Browse Code »

08 Oct, 2018
1 commit
  • olevba: detect and replace backspace characters before printing to the console (issue #358)
    552254f1
    decalage2 authored
    2018-10-08 22:45:02 +0200  
    Browse Code »

06 Oct, 2018
2 commits
  • Merge remote-tracking branch 'origin/master'
    1fb8a986
    decalage2 authored
    2018-10-06 17:27:36 +0200  
    Browse Code »
  • colorclass is now an external dependency, obsolete copy removed from thirdparty folder
    2e7c4294
    decalage2 authored
    2018-10-06 17:25:46 +0200  
    Browse Code »

03 Oct, 2018
2 commits
  • Merge pull request #357 from neonknight/master ...
    9bf5e6bd
    olevba: fix py3 incompatibility
    Philippe Lagadec authored
    2018-10-03 21:24:06 +0200  
    Browse Code »
  • fix py3 incompatibility
    67a8a404
    neonknight authored
    2018-10-03 16:20:35 +0200  
    Browse Code »

27 Sep, 2018
4 commits
  • readme: added link to AssemblyLine
    6870f158
    Philippe Lagadec authored
    2018-09-27 11:21:13 +0200  
    Browse Code »
  • readme: added link to malshare.io/MRF and github search
    06dd8a82
    Philippe Lagadec authored
    2018-09-27 11:16:58 +0200  
    Browse Code »
  • readme: added link to CAPE
    78e97729
    Philippe Lagadec authored
    2018-09-27 10:56:27 +0200  
    Browse Code »
  • readme: added link to Strelka
    77a60aab
    Philippe Lagadec authored
    2018-09-27 10:55:07 +0200  
    Browse Code »

22 Sep, 2018
1 commit
  • easygui is now an external dependency, obsolete copy removed from thirdparty folder
    435baf80
    decalage2 authored
    2018-09-22 17:19:29 +0200  
    Browse Code »

19 Sep, 2018
1 commit
  • clsid: added Windows LNK Shortcut file
    afdeca24
    decalage2 authored
    2018-09-19 09:19:52 +0200  
    Browse Code »

15 Sep, 2018
2 commits
  • Merge remote-tracking branch 'origin/master'
    e1575b47
    decalage2 authored
    2018-09-15 16:53:20 +0200  
    Browse Code »
  • olefile is now an external dependency, obsolete copy removed from thirdparty folder
    f07043b9
    decalage2 authored
    2018-09-15 16:52:29 +0200  
    Browse Code »

31 Aug, 2018
2 commits
  • Merge pull request #349 from comawill/pull-req/rtfobj ...
    a9ece440
    Fix comparsion against string
    Philippe Lagadec authored
    2018-08-31 09:00:37 +0200  
    Browse Code »
  • Fix comparsion against string (Closes #347)
    7a037e70
    Sebastian Willenborg authored
    2018-08-31 02:47:36 +0200  
    Browse Code »

29 Aug, 2018
3 commits
  • Added requirements.txt.
    29572ea3
    decalage2 authored
    2018-08-29 22:51:21 +0200  
    Browse Code »
  • setup: added olefile as dependency (work in progress), added olefile as an entry… ...
    cf93ba9d
    … point, bumped version to 0.54dev1
    decalage2 authored
    2018-08-29 22:50:41 +0200  
    Browse Code »
  • Merge pull request #346 from comawill/pull-req/python37 ...
    6e6c66fe
    Stop tests from failing when using python3.7
    Philippe Lagadec authored
    2018-08-29 08:44:12 +0200  
    Browse Code »

28 Aug, 2018
3 commits
  • Add delimiter to generated CSV to keep csv.Sniffer detecting the correct ...
    1906a4cf
    delimiter in current python versions
    Sebastian Willenborg authored
    2018-08-28 22:45:43 +0200  
    Browse Code »
  • Replace "raise StopIteration" with "return" (PEP-479)
    50210616
    Sebastian Willenborg authored
    2018-08-28 22:40:09 +0200  
    Browse Code »
  • Enable testing for more recent python3.7 version
    3e1cac5a
    Sebastian Willenborg authored
    2018-08-28 22:40:08 +0200  
    Browse Code »

25 Aug, 2018
1 commit
  • Update README.md
    6b7a0bb9
    Philippe Lagadec authored
    2018-08-25 21:54:12 +0200  
    Browse Code »

22 Aug, 2018
1 commit
  • readme: added "say thanks" button
    c9684075
    Philippe Lagadec authored
    2018-08-22 22:07:19 +0200  
    Browse Code »

28 Jul, 2018
2 commits
  • Update bug_report.md
    d98ca1a2
    Philippe Lagadec authored
    2018-07-28 17:24:39 +0200  
    Browse Code »
  • Merge pull request #336 from jdufresne/pypi ...
    f3646f40
    Update all pypi.python.org URLs to pypi.org
    Philippe Lagadec authored
    2018-07-28 14:08:50 +0200  
    Browse Code »

23 Jul, 2018
1 commit
  • Update all pypi.python.org URLs to pypi.org ...
    682e8e8f
    For details on the new PyPI, see the blog post:
    
    https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
    Jon Dufresne authored
    2018-07-23 17:33:28 -0700  
    Browse Code »

29 Jun, 2018
1 commit
  • Added issue templates
    945f40f9
    Philippe Lagadec authored
    2018-06-29 09:24:31 +0200  
    Browse Code »