Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

olevba - remove output to stderr #23

Closed
decalage2 opened this issue Jun 24, 2015 · 2 comments
Closed

olevba - remove output to stderr #23

decalage2 opened this issue Jun 24, 2015 · 2 comments

Comments

@decalage2
Copy link
Owner

Originally reported by: Philippe Lagadec (Bitbucket: decalage, GitHub: decalage2)


olevba in oletools 0.12 takes more time to analyze files because it includes a VBA parser. Therefore I added a temporary message "analysis..." on the console. I did not want it to appear in the output if redirected to a file, so I wrote it to stderr.

In some cases such as running olevba from powershell, this causes issues because it can be considered as reporting an actual error.

solutions:

  • remove that message
  • write the message to stdout
  • add an option to disable that message.

@decalage2
Copy link
Owner Author

Original comment by Patrick O'Beirne (Bitbucket: patrick_obeirne, GitHub: Unknown):


Remove the message; olevba is very fast.

@decalage2
Copy link
Owner Author

Original comment by Philippe Lagadec (Bitbucket: decalage, GitHub: decalage2):


olevba: removed usage of sys.stderr which causes issues (fixed issue #23)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant