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
16 Jul, 2019
3 commits
  • 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 »

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 »

25 Mar, 2019
6 commits
  • setup: bumped version to 0.54dev12
    8d15762e
    decalage2 authored
    2019-03-25 22:16:34 +0100  
    Browse Dir »
  • tests: Adjust dde output text
    9f03687a
    Christian Herdtweck authored
    2019-03-25 11:47:34 +0100  
    Browse Dir »
  • tests: Create test for decryption in msodde
    1363c4f0
    Christian Herdtweck authored
    2019-03-25 11:47:34 +0100  
    Browse Dir »
  • tests: Add exceptions to olevba return code test
    7e5ee417
    Christian Herdtweck authored
    2019-03-25 11:47:34 +0100  
    Browse Dir »
  • tests: add 4 clean example files for default-encryption ...
    5ab52bb6
    These 4 files contain dde-links to calc.exe and are encrypted with
    excel's standard password.
    Christian Herdtweck authored
    2019-03-25 11:47:34 +0100  
    Browse Dir »
  • tests: Create test for new excel encrypted files
    e2684a62
    Christian Herdtweck authored
    2019-03-25 11:47:34 +0100  
    Browse Dir »

21 Mar, 2019
4 commits
  • tests: add encrypted excel samples ...
    ddeeb743
    These are encrypted with the standard password hard-coded into excel to
    implement a form of write protection
    Christian Herdtweck authored
    2019-03-21 17:53:46 +0100  
    Browse Dir »
  • tests: Use common base dirs in log_helper tests
    83720167
    Christian Herdtweck authored
    2019-03-21 17:53:46 +0100  
    Browse Dir »
  • tests: provide more common base dirs
    da5d4644
    Christian Herdtweck authored
    2019-03-21 17:53:46 +0100  
    Browse Dir »
  • tests: cannot test yet encrypted.ppt
    03c467a6
    Christian Herdtweck authored
    2019-03-21 17:53:46 +0100  
    Browse Dir »

30 Oct, 2018
1 commit
  • Merge pull request #317 from samiraguiar/oleobj-detect-external ...
    79159242
    oleobj: detect external links
    Philippe Lagadec authored
    2018-10-30 19:53:02 +0100  
    Browse Dir »