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
28 Apr, 2016
19 commits
  • 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
16 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 »
  • simplify exception-handling around mso_file_extract in open_mht and open_word2003xml
    f1e5ebe7
    Christian Herdtweck authored
    2016-04-27 14:47:37 +0200  
    Browse Code »
  • if catching exceptions and logging stuff, also print info about exception
    d604e72d
    Christian Herdtweck authored
    2016-04-27 14:42:04 +0200  
    Browse Code »
  • deal with case that offset in mso_file_extract might not be found, ...
    9e355a9d
    specify some more exceptions in mso_file_extract
    Christian Herdtweck authored
    2016-04-27 14:40:36 +0200  
    Browse Code »
  • create exception MsoExtractionError, raise from mso_file_extract
    eb680811
    Christian Herdtweck authored
    2016-04-27 14:39:01 +0200  
    Browse Code »
  • specify exceptions from open_... methods (as best as possible)
    e97e15a6
    Christian Herdtweck authored
    2016-04-27 14:38:00 +0200  
    Browse Code »
  • create exception class FileOpenError, raise from VBA_Parser if all open_... failed
    14045282
    Christian Herdtweck authored
    2016-04-27 14:30:57 +0200  
    Browse Code »
  • replace logging.info with log.info in json2ascii
    3dedfa70
    Christian Herdtweck authored
    2016-04-27 11:58:05 +0200  
    Browse Code »

26 Apr, 2016
1 commit
  • replaced "except KeyboardInterrupt ... except: ..." with "except Exception:..."
    cd60c369
    Christian Herdtweck authored
    2016-04-26 10:50:19 +0200  
    Browse Code »

19 Apr, 2016
2 commits
  • olevba: updated suspicious keywords
    0184530e
    Philippe Lagadec authored
    2016-04-19 15:40:17 +0200  
    Browse Code »
  • olevba: updated suspicious keywords
    84077c74
    Philippe Lagadec authored
    2016-04-19 15:36: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 »