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
  • tests
04 May, 2020
1 commit
  • test_basic: disabled a few tests that were causing issues
    297abf75
    decalage2 authored
    2020-05-04 13:25:46 +0200  
    Browse Dir »

30 Jan, 2020
1 commit
  • Merge remote-tracking branch 'upstream/master' into merge2master
    e91694c5
    kirk-sayre-work authored
    2020-01-30 14:42:36 -0600  
    Browse Dir »

29 Nov, 2019
1 commit
  • tests: temporarily disabled some msodde tests that trigger antivirus alerts (tem… ...
    b4edcc89
    …porary workaround for #398), corresponding test files are now zipped with password 'infected-test' (for #215)
    decalage2 authored
    2019-11-29 21:36:15 +0100  
    Browse Dir »

05 Nov, 2019
1 commit
  • tests: fixed exception in test_encoding_handler.py
    a85860db
    decalage2 authored
    2019-11-05 22:34:24 +0100  
    Browse Dir »

01 Nov, 2019
1 commit
  • Merge remote-tracking branch 'origin/master'
    bd81d785
    decalage2 authored
    2019-11-01 18:05:18 +0100  
    Browse Dir »

31 Oct, 2019
1 commit
  • tests: small fix in test_encoding_handler.py
    6b7a773f
    decalage2 authored
    2019-10-31 14:36:12 +0100  
    Browse Dir »

18 Oct, 2019
1 commit
  • Merge pull request #217 from samiraguiar/compress-test-data ...
    180a24ba
    test-cases: add support for encrypted corpus
    Philippe Lagadec authored
    2019-10-18 20:59:11 +0200  
    Browse Dir »

12 Aug, 2019
1 commit
  • Merge remote-tracking branch 'upstream/master'
    677d9ad5
    kirk-sayre-work authored
    2019-08-12 14:59:55 -0500  
    Browse Dir »

16 Jul, 2019
4 commits
  • tests: handle unicode output in test bypassing main()
    0b3af2da
    Christian Herdtweck authored
    2019-07-16 10:34:55 +0200  
    Browse Dir »
  • various: adjust import of io_encoding functions
    ae5ff5e4
    Christian Herdtweck authored
    2019-07-16 09:45:42 +0200  
    Browse Dir »
  • tests: test common.uopen
    e9d29e09
    Christian Herdtweck authored
    2019-07-16 09:39:32 +0200  
    Browse Dir »
  • tests: create unittests for unicode checker
    9d5c9d36
    Christian Herdtweck authored
    2019-07-16 09:21:11 +0200  
    Browse Dir »

09 Jul, 2019
1 commit
  • olevba: slight fix to avoid a test to fail by mistake
    96f2cffd
    decalage2 authored
    2019-07-09 19:59:55 +0200  
    Browse Dir »

26 Jun, 2019
2 commits
  • tests: Check regular output, not json ...
    bb38dc66
    json is messed up in pypy with warnings
    Christian Herdtweck authored
    2019-06-26 10:51:33 +0200  
    Browse Dir »
  • tests: Test error output from msodde
    49e13337
    Christian Herdtweck authored
    2019-06-26 10:51:33 +0200  
    Browse Dir »

20 May, 2019
8 commits
  • tests: Ensure unicode can be printed ...
    a8258728
    This is kind of a hack, hope this can be removed once other branch
    is merged (see code comment)
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »
  • tests: Use call_and_capture to get output from msodde ...
    acb05d3e
    This way, we get the output even in error case to simplify debugging
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »
  • tests: Replace deprecated function
    52af4559
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »
  • tests: Reduce output from oleobj tests even further
    7bdfcf7c
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »
  • tests: Reduce text output from oleobj tests ...
    225312a8
    Instead of calling main() in current interpreter, fork a new one using
    call_and_capture
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »
  • tests: Specify exactly what type of error is expected from msodde ...
    6067550a
    Prevent unwanted FileNotFoundError caused by wrong test code shadow
    actual msodde output
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »
  • tests: call more top-level function from msodde
    6b7f2674
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »
  • tests: Fix args for msodde return-code test ...
    e250400b
    When adapting the test a while ago, Samir forgot that this one test
    tested with multiple args. That was unnecessary, anyway, so removed
    them.
    Christian Herdtweck authored
    2019-05-20 10:13:46 +0200  
    Browse Dir »

07 May, 2019
1 commit
  • tests: Add test for %-autoformatting of log messages
    c7a708db
    Christian Herdtweck authored
    2019-05-07 10:21:14 +0200  
    Browse Dir »

06 May, 2019
2 commits
  • tests: Do not assume we are running CPython
    95468654
    Christian Herdtweck authored
    2019-05-06 12:46:42 +0200  
    Browse Dir »
  • tests: Clarify whether to include stderr or not
    d24210bc
    Christian Herdtweck authored
    2019-05-06 12:46:42 +0200  
    Browse Dir »

30 Apr, 2019
6 commits
  • test: Use call_and_capture in olevba tests ...
    0bc67280
    Running main() within same interpreter capturing SystemExit and
    sys.stdout/err always causes trouble (at least in unittest).
    Fork another python process and capture from there, that is easier
    and cleaner in my view.
    Christian Herdtweck authored
    2019-04-30 13:02:46 +0200  
    Browse Dir »
  • tests: Move code to "run and capture" to utils
    b22b36c5
    Christian Herdtweck authored
    2019-04-30 13:02:46 +0200  
    Browse Dir »
  • tests: Move constants into proper module
    06c591af
    Christian Herdtweck authored
    2019-04-30 12:50:30 +0200  
    Browse Dir »
  • tests: minor pylint-inspired changes
    9b05546a
    Christian Herdtweck authored
    2019-04-30 12:50:30 +0200  
    Browse Dir »
  • tests: Check behaviour of olevba for rtf, text, empty
    f537ec1c
    Christian Herdtweck authored
    2019-04-30 12:50:30 +0200  
    Browse Dir »
  • tests: tell oleid test what to expect for new samples
    14e68768
    Christian Herdtweck authored
    2019-04-30 12:50:30 +0200  
    Browse Dir »

29 Apr, 2019
1 commit
  • tests: Add another sample ...
    5dfba516
    This is an interesting one since "our" old implementation of is_encrypted
    claims that the embedded file is still encrypted (which it is not), but
    the msoffcrypto-is_encrypted gets it right.
    Christian Herdtweck authored
    2019-04-29 12:01:35 +0200  
    Browse Dir »

10 Apr, 2019
2 commits
  • ooxml: ignore zip files when testing samples
    fa39e4a6
    Samir Aguiar authored
    2019-04-10 10:36:01 -0300  
    Browse Dir »
  • test-cases: add support for encrypted corpus ...
    d18f51c3
    To avoid triggering antivirus engines, we can encrypt
    files with a default password and decrypt them before
    testing.
    Samir Aguiar authored
    2019-04-10 10:36:01 -0300  
    Browse Dir »

04 Apr, 2019
1 commit
  • Merge pull request #410 from christian-intra2net/json-more-structure ...
    9780dc7c
    Type-Field in logging
    Philippe Lagadec authored
    2019-04-04 10:15:46 +0200  
    Browse Dir »

02 Apr, 2019
2 commits
  • tests: tell ooxml test about new test samples
    a55bd780
    Christian Herdtweck authored
    2019-04-02 14:07:31 +0200  
    Browse Dir »
  • tests: add open office samples to oleobj test ...
    ee87aca4
    oleobj cannot detect yet that these are open office, but it can now
    treat them like regular zip files and find embedded objects in them.
    
    Samples are harmless, were created by me.
    Christian Herdtweck authored
    2019-04-02 14:04:33 +0200  
    Browse Dir »

01 Apr, 2019
2 commits
  • tests: replace 3 calls to deprecated function
    95bd4497
    Christian Herdtweck authored
    2019-04-01 09:05:08 +0200  
    Browse Dir »
  • tests: Test new "type" field of json logging output ...
    7d89934c
    Every logging call can have an optional arg type='...' which is
    ignored when logging to text but shows in json output. The "type"
    of regular logging output in json is type='msg'.
    
    Added 2 messages with different type, adjusted existing test, created
    2 new ones.
    Christian Herdtweck authored
    2019-04-01 09:04:52 +0200  
    Browse Dir »