aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration
diff options
context:
space:
mode:
authorJesse Davis <jdalton.davis@gmail.com>2016-01-13 22:20:05 -0600
committerJesse Davis <jdalton.davis@gmail.com>2016-01-13 22:20:05 -0600
commit4ffd3084e41461a518b3f0e5ff2d997261a08250 (patch)
tree425c60f803871d2a1028eb14b6217875721aaeb9 /Exfiltration
parent414daa60b825acc7d75fa0f932a0912c84d9267c (diff)
downloadPowerSploit-4ffd3084e41461a518b3f0e5ff2d997261a08250.tar.gz
PowerSploit-4ffd3084e41461a518b3f0e5ff2d997261a08250.zip
Fixed Pester/PassThru
Diffstat (limited to 'Exfiltration')
-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)]