Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powershell Wrapper to Check Multiple IPs on a List #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 19 additions & 0 deletions powershell wrapper
Original file line number Diff line number Diff line change
@@ -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================"