Update posh_ps_clear_powershell_history.yml
This commit is contained in:
@@ -19,7 +19,8 @@ detection:
|
||||
- 'del'
|
||||
- 'Remove-Item'
|
||||
- 'rm'
|
||||
ScriptBlockText|contains|all: '(Get-PSReadlineOption).HistorySavePath'
|
||||
ScriptBlockText|contains|all:
|
||||
- '(Get-PSReadlineOption).HistorySavePath'
|
||||
selection_2:
|
||||
ScriptBlockText|contains|all:
|
||||
- 'Set-PSReadlineOption'
|
||||
|
||||
Reference in New Issue
Block a user