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

23 Commits

Author SHA1 Message Date
Grant Willcox
85be5fdf64
Land , Refine string handlings in Java Meterpreter 2021-02-14 22:54:03 -06:00
Tim W
55ff88459a Land , fix linting on ignored exceptions 2021-02-12 16:20:25 +00:00
Tim W
6e8023708d
Land , remove unused imports 2021-02-12 16:16:27 +00:00
Tim W
9ba15b0ead
Land , simplify test assertions 2021-02-12 15:45:57 +00:00
Tim W
ea26abfa36
Land , add missing @Override 2021-02-12 14:19:50 +00:00
XenoAmess
d5e7df035c add braces 2021-02-11 23:23:06 +08:00
XenoAmess
8cac54b070 add missing @Override 2021-02-11 23:20:09 +08:00
XenoAmess
384b5fb795 refine string handlings 2021-02-11 23:09:41 +08:00
XenoAmess
cf6b589ea7 simplify assertions 2021-02-11 23:06:28 +08:00
XenoAmess
23b9cbf269 remove unused imports 2021-02-11 22:32:50 +08:00
XenoAmess
e78735107f change ignored Throwable's name to ignored 2021-02-11 22:30:17 +08:00
Tim W
c7097f933d disable ShellTest 2018-05-31 13:18:54 +08:00
Brent Cook
f065a24b1c Merge branch 'master' into land-236-headers 2017-11-21 00:52:50 -06:00
Tim
d1bd0514c1 fix testSpawnReverseTcp SocketTimeoutException 2017-10-20 17:13:31 +08:00
Tim
a63b17249b add custom headers to java 2017-09-13 11:56:04 +08:00
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
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
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