1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-24 18:16:24 +01:00

10 Commits

Author SHA1 Message Date
Brent Cook
8a6e26af80 fix a little more whitespace, remove superfluous ; 2015-05-19 10:33:34 -05:00
Tim
d1e69b2d43 format all code with the default intellij java formatter 2015-05-17 19:05:21 +01:00
Brent Cook
5998658155 wait up to 5 seconds for shell output before checking the result.
otherwise, we can jumpt the gun and fail the test randomly
2015-03-26 01:14:38 -05:00
jvazquez-r7
ca95627f3c Add interface and class to support MBean loading 2015-01-14 18:09:06 -06:00
Michael Schierl
216c85996e Fix relative paths to Metasploit repository
As this repo it is no longer in external/source directory, the deploy
targets need to know where the Framework repository is. This defaults to
../metasploit-framework, but can be changed via -D deploy.path= command
line switch.
2013-06-12 23:44:57 +02:00
Michael Schierl
ff38301878 Make BindTCP test more robust
The BindTCP test contained a race condition: if the bind payload took
longer to load than the handler, it could result in a

ConnectException: Connection refused: connect

Work around this by retrying the connection up to 10 times, with 500ms
delay in between.
2013-03-03 21:08:06 +01:00
Michael Schierl
547eaf9316 Add unit tests for JavaPayload
Downgrad JUnit version since JUnit 4 can only work with -target 1.5 or
higher class files.

Covered are Shell and Meterpreter stage, StreamForwarder, MemoryBuffer,
AESEncryption and Payload (Bind, Reverse, Spawn, AESPassword).
2012-12-21 19:22:41 +01:00
Michael Schierl
cf99b6d62f Convert Java Meterpreter project to use Maven
Functionality and build result is 1:1 the same as before. Auxiliary ant
targets have been converted to Maven profiles.
2012-12-21 01:17:57 +01:00
Michael Schierl
b58215ff3b Convert JavaPayload project to use Maven
Functionality and build result is 1:1 the same as before. Auxiliary ant
targets have been converted to Maven profiles.
2012-12-21 00:09:06 +01:00
Michael Schierl
b1da5a6a13 Move Java meterpreter next to JavaPayload
to make further refactoring easier
2012-12-20 22:28:25 +01:00