From 9139b68b5b375290ccddf20e0eaddd13fab21783 Mon Sep 17 00:00:00 2001 From: gzigg Date: Wed, 9 Apr 2014 11:27:59 -0700 Subject: [PATCH] Powershell Wrapper to Check Multiple IPs on a List In case it helps others, here is a Powershell script to check a list of IP addresses # and execute the command on each. # 4-8-2012 written to run the Heartbleed.exe command to check for vulnerable SSL servers # Assumes you installed GO programming language and Filippo's excellent Heartbleed.exe script # This was tested to work on Windows 7, 64 bit. # List of IPs contains x.x.x.x:port separated by newline character (ex: 65.233.11.4:8443) --- powershell wrapper | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 powershell wrapper diff --git a/powershell wrapper b/powershell wrapper new file mode 100644 index 0000000..d5a6533 --- /dev/null +++ b/powershell wrapper @@ -0,0 +1,19 @@ +# In case it helps others, here is a Powershell script to check a list of IP addresses +# and execute the command on each. +# 4-8-2012 written to run the Heartbleed.exe command to check for vulnerable SSL servers +# Assumes you installed GO programming language and Filippo's excellent Heartbleed.exe script +# This was tested to work on Windows 7, 64 bit. +# List of IPs contains x.x.x.x:port separated by newline character (ex: 65.233.11.4:8443) + + + get-content D:\users\username\gocode\provider-list-1.txt | + + foreach-object { + $ip = $_ + invoke-expression "d:\Users\username\gocode\bin\Heartbleed.exe $ip" | + out-file D:\users\username\gocode\script_ouput-provider.txt -append + write-host "--------divider--------" + +} + +write-host "==============END================"