From 9cc65e4a856a062d1f6d63d5412d7f0cd801877d Mon Sep 17 00:00:00 2001 From: Jesse Davis Date: Wed, 13 Jan 2016 22:32:44 -0600 Subject: Fixed Pester/PassThru --- Tests/Exfiltration.tests.ps1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Tests') 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 -- cgit v1.2.3