Created
April 14, 2014 23:39
-
-
Save muellermartin/10690338 to your computer and use it in GitHub Desktop.
Build Heartbleed exploit by HackerFantastic on Mac OS https://raw.githubusercontent.com/HackerFantastic/Public/master/exploits/heartbleed.c
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
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following the instructions in your script gives me the following on OSX mavericks: