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

3 Commits

Author SHA1 Message Date
Tim
d411bfc90b
add shared module 2016-10-11 14:27:25 +08:00
Michael Schierl
bd3d0efedd Move extension source to a common place
Move source code of all Meterpreter extensions to a common target
directory during build, so that tests that apply to all extensions won't
need to be updated when a new extension is added.

Use this to apply the version compatibility checks to all extensions.
2013-09-06 18:23:14 +02:00
Michael Schierl
e6b99a1ff7 Add version compatibility checks for JavaPayload
Check JavaPayload and Java Meterpreter against version incompatibilities
for Java 1.2, 1.3, 1.4, 1.5, and 1.6.

Note that webcam_audio_record is currently excluded from the checks, as it
uses Sun proprietary API for building the WAV file and is therefore
failing the build (and will most likely crash Meterpreter if run on a JVM
of version 1.4 or later that is not based on the Sun/Oracle JVM).

Possible workarounds (apart from either removing the module or changing it
to produce empty files when WAV creation is not supported) include
implementing the WAV file writer ourselves or providing raw PCM files
instead.
2012-12-21 14:37:46 +01:00