diff options
author | Jesse Davis <jdalton.davis@gmail.com> | 2016-01-13 22:32:44 -0600 |
---|---|---|
committer | Jesse Davis <jdalton.davis@gmail.com> | 2016-01-13 22:32:44 -0600 |
commit | 9cc65e4a856a062d1f6d63d5412d7f0cd801877d (patch) | |
tree | 425c60f803871d2a1028eb14b6217875721aaeb9 /Tests | |
parent | 75548931ba09dc0fe759a4863a67c83f18b7b855 (diff) | |
download | PowerSploit-9cc65e4a856a062d1f6d63d5412d7f0cd801877d.tar.gz PowerSploit-9cc65e4a856a062d1f6d63d5412d7f0cd801877d.zip |
Fixed Pester/PassThru
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Exfiltration.tests.ps1 | 2 |
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 |