Update T1095.yaml (#1119)

Add a line to include/force TLS1.2 in order for the prereq function to work on win2k16
All the credit to clr2of8 for sending me the string

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
Scoubi
2020-07-14 10:49:37 -04:00
committed by GitHub
parent c91c70bd67
commit aedffd8f65
+1
View File
@@ -50,6 +50,7 @@ atomic_tests:
prereq_command: |
if( Test-Path "#{ncat_exe}") {exit 0} else {exit 1}
get_prereq_command: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
New-Item -ItemType Directory -Force -Path #{ncat_path} | Out-Null
$parentpath = Split-Path (Split-Path "#{ncat_exe}"); $zippath = "$parentpath\nmap.zip"
Invoke-WebRequest "https://nmap.org/dist/nmap-7.80-win32.zip" -OutFile "$zippath"