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

[bug] An unneeded space is outputted when there is a rule parsing error #829

Closed
YamatoSecurity opened this issue Dec 3, 2022 · 0 comments · Fixed by #830
Closed

[bug] An unneeded space is outputted when there is a rule parsing error #829

YamatoSecurity opened this issue Dec 3, 2022 · 0 comments · Fixed by #830
Assignees
Labels
bug Something isn't working
Milestone

Comments

@YamatoSecurity
Copy link
Collaborator

Describe the bug
When there is a rule parsing error, hayabusa will print blank lines.

Step to Reproduce
パースエラーを起こすルール(例: 変換されていない元々のSigmaルール)を使うと、例えば980件のパースエラーがあった場合、980行の改行が入ってしまいます。
./hayabusa-1.8.1 -d ../hayabusa-sample-evtx -o hogehoge.csv -r ../sigma/rules/windows

Expected behavior
Hayabusa shouldn't print unneeded lines so it is easy to read what is above.

Screenshots

Screen Shot 2022-12-03 at 8 24 09 PM

Environment (please complete the following information):

  • OS: mac
  • hayabusa version: I think this happens up until 1.8.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants