Commit 41896bcfc5663263be0b4dfd0795e32687230d86

Authored by Philippe Lagadec
1 parent 74cd7ccb

olevba: added banner with version

Showing 1 changed file with 3 additions and 0 deletions
oletools/olevba.py
... ... @@ -1618,6 +1618,9 @@ def main():
1618 1618 parser.print_help()
1619 1619 sys.exit()
1620 1620  
  1621 + # print banner with version
  1622 + print 'olevba %s - http://decalage.info/python/oletools' % __version__
  1623 +
1621 1624 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.WARNING) #INFO)
1622 1625 # For now, all logging is disabled:
1623 1626 logging.disable(logging.CRITICAL)
... ...