Skip to content

Commit

Permalink
Merge pull request #1426 from Yamato-Security/1425-fix-unnecessary-li…
Browse files Browse the repository at this point in the history
…ne-break-search-md

fix: remove unnecessary line break in `search` cmd
  • Loading branch information
YamatoSecurity authored Oct 6, 2024
2 parents b009984 + b9dc946 commit 1b94b51
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG-Japanese.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
- 注意: -Hオプションで生成されるレポートは、ルールへのリンクを作成せず、ルール名だけが出力される。
- `rules/config`の設定ファイルが単一のファイル[rules_config_files.txt](https://github.com/Yamato-Security/hayabusa-encoded-rules/raw/refs/heads/main/rules_config_files.txt)からロードされるようになり、ライブ調査のためにターゲットシステムに保存する必要があるファイル数が減った。(#1420) (@fukusuket)

**バグ修正:**

- `search`コマンドの`-o`オプションを使用した際に不要な改行が出力されていた。(#1425) (@fukusuket)

## 2.17.0 [2024/08/23] "HITCON Community Release"

**新機能:**
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
- Note: The report generated by the `-H` option cannot create a link to the rule (only the rule name is outputted.)
- `rules/config` config files are now loaded from a single file [rules_config_files.txt](https://github.com/Yamato-Security/hayabusa-encoded-rules/raw/refs/heads/main/rules_config_files.txt) to reduce the number of files needed to be stored on a target system for live response. (#1420) (@fukusuket)

**Bug Fixes:**

- Unneeded line breaks when using `-o` in the `search` command. (#1425) (@fukusuket)

## 2.17.0 [2024/08/23] "HITCON Community Release"

**New Features:**
Expand Down
4 changes: 3 additions & 1 deletion src/timeline/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,8 @@ pub fn search_result_dsp_msg(
}
}
}
println!();
if output.is_none() {
println!();
}
}
}

0 comments on commit 1b94b51

Please sign in to comment.