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
22 Dec, 2023
18 commits
  • Fix unittests for py2
    34d8310b
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • Update silencing of wrong pylint warnings ...
    f309ee68
    Pylint is just wrong in a few cases (admittedly: those are hard), so can
    safely ignore these warnings.
    
    Also ignore errors in thirdparty, this is not really our code.
    
    Also remove a few old "pylint silencers" ("# pylint: disable=...") that
    are not used any more in v3.10 of pylint
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • Run only latest py2, py3 and pypy3 ...
    3af250c3
    Availability of python versions in cached runner images is subject to
    change and specification in
    https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
    did not help
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • tests: Fix log-helper test on windows
    ea2a7fbe
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • log_helper: Test and improve error-handling ...
    58bb3b81
    If there is an error in log-handling (e.g. wrong args to logger call) do
    not fail or raise but produce something helpful
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • log_helper: Format text in JsonFormatter ...
    7f315674
    Use a standard logging.Formatter to do %-formatting and other stuff (i.e.
    the regular formatter job) before converting to Json.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • tests: Add 2 tests for json formatting ...
    28c0449c
    Need to make sure that json output is formatted since e.g. warning messages
    are created like this:
       log.warning('%s', actual_message)
    so without proper formatting the message is just "%s".
    
    Also test that exception info is added as usual.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • tests: Add source position to warning messages ...
    dc8c0a9d
    Warning message includes source file and line number, hope this is not
    dependent on python version..
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • tests: Add another warnings test
    c788ceaf
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • log_helper: Capture warnings into logging ...
    80791d85
    We set logging.captureWarnings to True and use our logging framework for
    python's builtin warnings logger. Warnings from that logger will have
    "type=warning" per default (as opposed to "type=msg").
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • tests: Add warnings to log_helper test ...
    6bc04064
    Encountered an example where a 3rd-party library issued a warning that
    messed up the json output. Create test to reproduce this.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • tests: Deal with warnings in output ...
    3c3b7093
    Do not assume a known length of output when checking it. Only assume that
    meta information about oletool used is first. Ignore warnings and messages
    that come after that to identify the actual result we want to check.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • tests: Fix tests on windows ...
    26f922b5
    (1) Cannot open a temp file for writing from 2 python processes
        simultaneously
    (2) Need proper environment setup for Popen (thanks to metatoaster's
        reply on stackoverflow https://stackoverflow.com/a/72845540/4405656)
    (3) Need different os-separator, so replace hard-coded '/' with
        os.path.join or os.sep
    (4) Minor cleanup of imports & whitespace in test_issue_*.py
    
    There are still 2 tests that should be adapted to Windows, but those are
    lower-prio in my eyes.
    
    Also, unittest run on my windows VM creates many resource warnings due to
    non-closed file descriptors. Should address that some (future) day.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • Add debug output to workflow preparation ...
    658858e9
    Want this to check why requirements installation does not happen as expected
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • Fail fast in unittests ...
    6502a777
    Save computing time by failing immediately if any test fails. If we
    return early from one VM, the others are stopped, as well, so this
    saves lots of parallel time.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse Code »
  • Only run on push/PR to master
    bc9c9460
    Christian Herdtweck authored
    2023-12-22 13:04:36 +0100  
    Browse Code »
  • Run on ubuntu,win,mac, py2.7,3.5,newest, pypy 3.9 ...
    2c3b3405
    Could not find a way to say "newest pypy"; "pypy3" or "pypy3.x" did not
    work
    Christian Herdtweck authored
    2023-12-22 13:04:36 +0100  
    Browse Code »
  • Run unittests automatically ...
    1fb82ad7
    Use github actions for Continuous Integration
    Christian Herdtweck authored
    2023-12-22 13:04:36 +0100  
    Browse Code »

01 Dec, 2023
2 commits
  • Merge remote-tracking branch 'origin/master'
    859a3c68
    Philippe Lagadec authored
    2023-12-01 11:41:00 +0100  
    Browse Code »
  • clsid: added CLSID for ZED! encrypted containers (issue #834)
    a64d4c80
    Philippe Lagadec authored
    2023-12-01 11:40:22 +0100  
    Browse Code »

18 Oct, 2023
2 commits
  • Merge remote-tracking branch 'origin/master'
    3ce93142
    decalage2 authored
    2023-10-18 20:06:07 +0200  
    Browse Code »
  • clsid: added Bitmap Image
    3057c646
    decalage2 authored
    2023-10-18 20:02:28 +0200  
    Browse Code »

27 Jun, 2023
1 commit
  • readme: added link to Qu1cksc0pe
    fb4546ec
    Philippe Lagadec authored
    2023-06-27 10:37:53 +0200  
    Browse Code »

30 May, 2023
1 commit
  • Merge pull request #815 from DecimalTurn/master ...
    5e12b3a0
    Exclude RTF files from language statistics
    Philippe Lagadec authored
    2023-05-30 10:14:54 +0200  
    Browse Code »

28 May, 2023
2 commits
  • Add new line at the end of file
    47fe52e8
    Martin Leduc authored
    2023-05-28 23:17:21 -0400  
    Browse Code »
  • Exclude RTF files from language statistics
    a563d97e
    Martin Leduc authored
    2023-05-28 23:06:12 -0400  
    Browse Code »

01 Feb, 2023
2 commits
  • updated changelog and setup.py
    83c1e66d
    decalage2 authored
    2023-02-01 23:16:06 +0100  
    Browse Code »
  • ftguess: added PNG format
    db092ff0
    decalage2 authored
    2023-02-01 23:14:29 +0100  
    Browse Code »

18 Jan, 2023
2 commits
  • ftguess: added OneNote format
    53dfd753
    decalage2 authored
    2023-01-18 22:50:14 +0100  
    Browse Code »
  • ftguess: added MSI format
    857d1e4a
    decalage2 authored
    2023-01-18 22:25:49 +0100  
    Browse Code »

06 Jan, 2023
1 commit
  • Merge pull request #774 from vertexproject/bug_syntax_warning ...
    6c61acad
    Fix a SyntaxWarning in Python 3.8+
    Philippe Lagadec authored
    2023-01-06 22:08:33 +0100  
    Browse Code »

04 Jan, 2023
3 commits
  • updated license for 2023
    943ee593
    decalage2 authored
    2023-01-04 23:22:35 +0100  
    Browse Code »
  • clsid: added MSI CLSIDs
    715b4e1b
    decalage2 authored
    2023-01-04 23:21:46 +0100  
    Browse Code »
  • readme - added link to Cortex XSOAR
    fa49ae62
    Philippe Lagadec authored
    2023-01-04 22:12:10 +0100  
    Browse Code »

03 Jan, 2023
3 commits
  • readme - added link to InQuest Labs
    f096d8bb
    Philippe Lagadec authored
    2023-01-03 17:39:11 +0100  
    Browse Code »
  • readme - added links to QFlow and GLIMPS Malware
    23125a1e
    Philippe Lagadec authored
    2023-01-03 17:19:46 +0100  
    Browse Code »
  • readme - added link to Subparse
    9d0e5da6
    Philippe Lagadec authored
    2023-01-03 17:13:20 +0100  
    Browse Code »

27 Nov, 2022
3 commits
  • olevba: bumped version to 0.60.2dev1
    a4f2d827
    decalage2 authored
    2022-11-27 21:24:54 +0100  
    Browse Code »
  • Merge pull request #769 from christian-intra2net/fix-unittests ...
    4cbf6aa9
    Fix unittests
    Philippe Lagadec authored
    2022-11-27 21:19:39 +0100  
    Browse Code »
  • Merge pull request #794 from christian-intra2net/enabled-tests-for-issue215 ...
    e150f893
    tests: Re-enable samples skipped because of #215
    Philippe Lagadec authored
    2022-11-27 11:48:58 +0100  
    Browse Code »