Wednesday 9 April 2014

Heartbleed scanner on Ubuntu

This works for Ubuntu.

1.Install Bazaar and Go v1.0 (required for godeb):
sudo apt-get install bzr
sudo apt-get install golang

2. Install godeb (required for Go 1.2):
mkdir ~/gopath
export GOPATH
go get
sudo apt-get remove golang
sudo apt-get autoremove

3. Install godeb (required forGo 1.2)
sudo bin/godeb install

3. Get and compile Heartbleed:
go get
go install

4. Run it:
bin/Heartbleed serverip[:port]

Here is a BASH script you can use to scan a list of IP addresses instead of a single one:

1 comment:

  1. I've corrected a few typos and tested this on a couple of machines. The above was tested on BackLinux v3.13 which is based on Ubuntu (v12.04 I think).