1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-30 22:19:17 +02:00

35 Commits

Author SHA1 Message Date
Tim W
7691f6f483 Land , remove unused boxing and unboxing 2021-03-04 13:55:19 +00:00
Tim W
365fa51cc3
Land , remove unneeded array creation 2021-03-04 13:53:47 +00:00
Tim W
bdb18a17d6
Land , remove useless object creation 2021-03-04 13:53:31 +00:00
XenoAmess
5b4782c0f3 remove unused boxing and unboxing 2021-02-20 01:13:45 +08:00
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
604f1235a6 remove useless object creation 2021-02-11 23:13:17 +08:00
XenoAmess
0354d7cfd7 remove uneeded array creation 2021-02-11 23:11:03 +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
Brent Cook
f53d6f7ad6
Update java/javapayload/README.md
Co-Authored-By: wvu-r7 <wvu-r7@users.noreply.github.com>
2019-03-15 21:08:19 -05:00
bcoles
cc6e3303ba
Update java/javapayload/README.md
Co-Authored-By: wvu-r7 <wvu-r7@users.noreply.github.com>
2019-03-15 20:48:28 -05:00
bcoles
30517619fe
Update java/javapayload/README.md
Co-Authored-By: wvu-r7 <wvu-r7@users.noreply.github.com>
2019-03-15 20:48:22 -05:00
William Vu
c841e82a3a Convert java/javapayload/index.html to README.md
pandoc -f html -t gfm index.html -o README.md
2019-03-15 20:26:06 -05: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
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