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
16 May, 2016
1 commit
  • olevba: many improvements and fixes by Christian Herdtweck (exit code, exception… ...
    ffa04426
    … handling, JSON output)
    Philippe Lagadec authored
    2016-05-16 16:34:05 +0200  
    Browse Code »

15 May, 2016
1 commit
  • olevba: look for VBA code in any stream including orphans
    5e019d00
    Philippe Lagadec authored
    2016-05-15 21:46:28 +0200  
    Browse Code »

07 May, 2016
1 commit
  • rtfobj: sanitize filenames to avoid special characters
    455c85b4
    Philippe Lagadec authored
    2016-05-07 18:06:10 +0200  
    Browse Code »

06 May, 2016
1 commit
  • rtfobj: added option -d to set the output directory (contribution by Thomas Jarosch)
    209688eb
    Philippe Lagadec authored
    2016-05-06 23:13:10 +0200  
    Browse Code »

04 May, 2016
1 commit
  • olefile: fixed slight bug in OleStream
    31ce789a
    Philippe Lagadec authored
    2016-05-04 23:42:17 +0200  
    Browse Code »

30 Apr, 2016
3 commits
  • updated readme
    959bc8d1
    Philippe Lagadec authored
    2016-04-30 07:13:02 +0200  
    Browse Code »
  • olevba: updated suspicious keywords
    da46fb84
    Philippe Lagadec authored
    2016-04-30 07:12:40 +0200  
    Browse Code »
  • olefile: updated to v0.44 (better handling of malformed/incomplete OLE files)
    ed936e16
    Philippe Lagadec authored
    2016-04-30 07:12:01 +0200  
    Browse Code »

28 Apr, 2016
21 commits
  • do not log error if in json mode -- error info is in json-output and return code
    b0033e5f
    Christian Herdtweck authored
    2016-04-28 18:15:20 +0200  
    Browse Code »
  • limit logging output from open_... and process_file_... functions to info and debug ...
    40c14afb
    no need to do error/exception output here since an error is raised anyway
    if opening/processing failed and otherwise the error is not so bad (e.g.
    one opening attempt failed but next succeeds for same file)
    
    --> main or other caller can better control the output (e.g. for json/triage mode)
    
    Added a few debug-traces
    Christian Herdtweck authored
    2016-04-28 18:03:32 +0200  
    Browse Code »
  • add n_processed=count to last json meta entry, try to set the is_last apart from json fields
    3463905d
    Christian Herdtweck authored
    2016-04-28 17:21:59 +0200  
    Browse Code »
  • iterative json printing: print json data for each file; ...
    4c1151ea
    re-use old debug-function print_json for proper purpose now
    
    copied from commits 99d5d56d65ee624022f8f9f5577f680f9f386660 and
    ccb7870314db6fbf1b9104606888ba67ab535a32 from different branch
    and even improved on them (no dict() necessary in print_json args
    Christian Herdtweck authored
    2016-04-28 17:12:37 +0200  
    Browse Code »
  • add errors in main to json_results
    82503a9e
    Christian Herdtweck authored
    2016-04-28 16:44:24 +0200  
    Browse Code »
  • deal with 2 errors that appeared in first tests (and corrected an indentation)
    749e9ebc
    Christian Herdtweck authored
    2016-04-28 16:44:01 +0200  
    Browse Code »
  • in xglob, if found error, do not try to continue with that file
    cbd3f779
    Christian Herdtweck authored
    2016-04-28 16:42:38 +0200  
    Browse Code »
  • just realized that log.exception = log.error(..., exc_info=True) ...
    1e024147
    --> fixed 2 logs from outside of error handlers and
        2 instances were trace is only wanted at debug level
    Christian Herdtweck authored
    2016-04-28 15:20:29 +0200  
    Browse Code »
  • fixed bug in json2ascii (was producing too much output due to wrong test)
    bf80b6c3
    Christian Herdtweck authored
    2016-04-28 15:18:53 +0200  
    Browse Code »
  • fixed bug: return PathNotFoundException from xglob as 3rd arg as docu says
    07326839
    Christian Herdtweck authored
    2016-04-28 15:01:18 +0200  
    Browse Code »
  • fixed bug: only close vba_parser if it is not None
    1c34660a
    Christian Herdtweck authored
    2016-04-28 15:00:52 +0200  
    Browse Code »
  • unify return_code setting
    d773e543
    Christian Herdtweck authored
    2016-04-28 14:48:53 +0200  
    Browse Code »
  • pylint-ify 4b: pseudo-use last unused variable (called unused)
    9a54b9c9
    Christian Herdtweck authored
    2016-04-28 14:48:30 +0200  
    Browse Code »
  • pylint-ify 5: remove unnecessary pass and global
    abf8aeeb
    Christian Herdtweck authored
    2016-04-28 14:37:54 +0200  
    Browse Code »
  • pylint-ify 4: remove other unused variables
    c17d8cae
    Christian Herdtweck authored
    2016-04-28 14:37:29 +0200  
    Browse Code »
  • fixed a bug I seem to have introduced (forgot to insert a _ before unicode)
    e1934789
    Christian Herdtweck authored
    2016-04-28 14:37:05 +0200  
    Browse Code »
  • pylint-ify 3: pseudo-use unused variables in _extract_vba
    689317a2
    Christian Herdtweck authored
    2016-04-28 14:25:20 +0200  
    Browse Code »
  • fixed minor error: had tested projectname_sizeof_projectname twice instead of projectdocstring
    5fec64f9
    Christian Herdtweck authored
    2016-04-28 12:54:43 +0200  
    Browse Code »
  • pylint-ify 2b: make lower-case variables more legible again (_size, _sizeof, _unicode)
    ef78a3ec
    Christian Herdtweck authored
    2016-04-28 12:51:50 +0200  
    Browse Code »
  • pylint-ify 2: lower-case-ify PROJECT... REFERENCE... MODULE vars in _extract_vba ...
    98bf5c36
    (I just love my vim...)
    Christian Herdtweck authored
    2016-04-28 12:26:38 +0200  
    Browse Code »
  • pylint-ify 1: limit imports
    2dd314cd
    Christian Herdtweck authored
    2016-04-28 12:24:09 +0200  
    Browse Code »

27 Apr, 2016
9 commits
  • handle errors from xglob; change return codes again (add RETURN_XGLOB_ERR)
    0d0d7853
    Christian Herdtweck authored
    2016-04-27 17:33:58 +0200  
    Browse Code »
  • created PathNotFoundException in xglob; yield as 3rd arg instead of raising it
    f1fcb31e
    Christian Herdtweck authored
    2016-04-27 17:32:25 +0200  
    Browse Code »
  • wrap most of main into big try-except; changed return codes
    8b1381cd
    Christian Herdtweck authored
    2016-04-27 16:48:42 +0200  
    Browse Code »
  • created exception ProcessingError, raise from process_... functions and handle in main
    6641ac1a
    Christian Herdtweck authored
    2016-04-27 16:11:45 +0200  
    Browse Code »
  • remove global_analysis (was always true, todo said "remove it")
    8b21d586
    Christian Herdtweck authored
    2016-04-27 15:27:58 +0200  
    Browse Code »
  • move private function out of loop (all required variables are arguments)
    3a79ad14
    Christian Herdtweck authored
    2016-04-27 15:13:21 +0200  
    Browse Code »
  • introduce return codes
    27a69e14
    Christian Herdtweck authored
    2016-04-27 14:49:40 +0200  
    Browse Code »
  • move handling of FileOpenError from VBA_Parser_CLI.__init__ to main
    52dc2d70
    Christian Herdtweck authored
    2016-04-27 14:49:23 +0200  
    Browse Code »
  • remove try-except around blocks from which exceptions should never be thrown
    c39b462d
    Christian Herdtweck authored
    2016-04-27 14:48:30 +0200  
    Browse Code »

18 Mar, 2016
2 commits
  • make file existence check in xglob compatible with glob
    aede664b
    Christian Herdtweck authored
    2016-03-18 17:51:13 +0100  
    Browse Code »
  • Test whether files/paths exist before iterating in xglob (otherwise, no error is… ...
    f75482f1
    … thrown for invalid paths)
    Christian Herdtweck authored
    2016-03-18 15:31:18 +0100  
    Browse Code »