aboutsummaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorJesse Davis <jdalton.davis@gmail.com>2016-01-13 22:32:44 -0600
committerJesse Davis <jdalton.davis@gmail.com>2016-01-13 22:32:44 -0600
commit9cc65e4a856a062d1f6d63d5412d7f0cd801877d (patch)
tree425c60f803871d2a1028eb14b6217875721aaeb9 /Tests
parent75548931ba09dc0fe759a4863a67c83f18b7b855 (diff)
downloadPowerSploit-9cc65e4a856a062d1f6d63d5412d7f0cd801877d.tar.gz
PowerSploit-9cc65e4a856a062d1f6d63d5412d7f0cd801877d.zip
Fixed Pester/PassThru
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Exfiltration.tests.ps12
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/Exfiltration.tests.ps1 b/Tests/Exfiltration.tests.ps1
index 43383d1..e4f60d5 100644
--- a/Tests/Exfiltration.tests.ps1
+++ b/Tests/Exfiltration.tests.ps1
@@ -22,6 +22,8 @@ Describe 'Get-Keystrokes' {
$KeyLogger.Dispose()
It 'Should output to file' { Test-Path "$($env:TEMP)\key.log" | Should Be $true }
+
+ $KeyObjects = Get-Content -Path "$($env:TEMP)\key.log" | ConvertFrom-Csv
It 'Should log keystrokes' {
$FileLength = (Get-Item "$($env:TEMP)\key.log").Length