Skip to content

Commit

Permalink
Merge pull request #20 from nnamon/master
Browse files Browse the repository at this point in the history
Fix commands not being executed...
  • Loading branch information
lukebaggett authored Jul 27, 2020
2 parents ff755ef + cb66833 commit 42c46df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powercat.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ Examples:
{
if($Host.UI.RawUI.KeyAvailable)
{
if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown").VirtualKeyCode))
if(@(17,27) -contains ($Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown,IncludeKeyUp").VirtualKeyCode))
{
Write-Verbose "CTRL or ESC caught. Stopping TCP Setup..."
if($FuncVars["l"]){$Socket.Stop()}
Expand Down

0 comments on commit 42c46df

Please sign in to comment.