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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user