Skip to content

Instantly share code, notes, and snippets.

@muellermartin
Created April 14, 2014 23:39
Show Gist options
  • Save muellermartin/10690338 to your computer and use it in GitHub Desktop.
Save muellermartin/10690338 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Clone OpenSSL repository
# Credits to https://github.com/robertdavidgraham/heartleech
git clone git://git.openssl.org/openssl.git
cd openssl
# Build 64-bit library on Mac OS
./configure darwin64-x86_64-cc
make depend
make
# Download latest heartbleed exploit by HackerFantastic
wget https://raw.githubusercontent.com/HackerFantastic/Public/master/exploits/heartbleed.c
# Compile it with Clang using compiled OpenSSL
cc -o heartbleed *.a -lcrypto -I ./include -Wno-return-type heartbleed.c
@Eyeless77
Copy link

Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment