Skip to content

[bug] Unnecessary files are created in logon-summary and pivot-keywords-list #1553

@fukusuket

Description

@fukusuket

Describe the bug
Unnecessary files are created in logon-summary and pivot-keywords-list

Step to Reproduce

  1. ./hayabusa-3.0.1-mac-aarch64 logon-summary -d ../hayabusa-sample-evtx -C -o out.csv
  2. ls -la

Actual behavior
An empty file named out.csv is created.

ls -la
...
-rwxr-xr-x@  1 fukusuke  staff  11379768 12 31 15:59 hayabusa-3.0.1-mac-aarch64
-rw-r--r--   1 fukusuke  staff         0  1 24 08:33 out.csv
-rw-r--r--   1 fukusuke  staff    328206  1 24 08:33 out.csv-failed.csv
-rw-r--r--   1 fukusuke  staff      9912  1 24 08:33 out.csv-successful.csv

Expected behavior

ls -la
...
-rwxr-xr-x@  1 fukusuke  staff  11379768 12 31 15:59 hayabusa-3.0.1-mac-aarch64
-rw-r--r--   1 fukusuke  staff    328206  1 24 08:33 out.csv-failed.csv
-rw-r--r--   1 fukusuke  staff      9912  1 24 08:33 out.csv-successful.csv

Environment:

  • OS: macOS Squoia 15.1.1
  • hayabusa version: 3.0.1 (It also occurs in earlier versions)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions