Created
January 11, 2018 14:48
-
-
Save 0xbadjuju/0ff3b77f160c66c46786306287504750 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$xml = [xml]Get-Content "nexpose_report.xml" | |
ForEach ($node in $xml.NexposeReport.nodes.node) | |
{ | |
Write-Host $node.address "- SSLv3 and TLS v1.0 Enabled" | |
ForEach ($endpoint in $node.endpoints.endpoint) | |
{ | |
Write-Host $node.address":"$endpoint.port | |
ForEach($name in $endpoint.services.service.configuration.config) | |
{ | |
if($name.name -eq "sslv2.ciphers") | |
{ | |
Write-Host "" | |
Write-Host "SSL 2.0 Supported Ciphers: " | |
Write-Host ($name.'#text' -replace ",","`n") | |
} | |
if($name.name -eq "sslv3.ciphers") | |
{ | |
Write-Host "" | |
Write-Host "SSL 3.0 Supported Ciphers: " | |
Write-Host ($name.'#text' -replace ",","`n") | |
} | |
if($name.name -eq "tlsv1_0.ciphers") | |
{ | |
Write-Host "" | |
Write-Host "TLS 1.0 Supported Ciphers: " | |
Write-Host ($name.'#text' -replace ",","`n") | |
} | |
} | |
Write-Host "" | |
Write-Host "" | |
Write-Host "" | |
} | |
Write-Host "================================================================================" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment