diff options
Diffstat (limited to 'Tests/Exfiltration.tests.ps1')
-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 |