This is a Java client program that is used to exploit the openssl heartbleed bug.
It is based on the quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org).
Just run the program as:
java -cp "." JavaHeartBleed <host> <port>
Example,
java -cp "." JavaHeartBleed localhost 443.
You are free to distribute and modify the program as per your requirement. For queries/feedback, feel free to drop an e-mail to: saurabhsule82@yahoo.co.in.