Conversation
Replace the Makefile with a Gradle build that targets JDK 8 by default and supports building for JDK 11/17/21 via -PtargetJdk=<N> using Java toolchains. Merge RemoteMbean and CleanupMbean into a single executable jar (com.jmxshell.JmxShell) with long-form CLI options: --host, --port, --command, --url, --cleanup, --username/--password (paired), --version, --help Add the standalone vulnerable JMX target (build/target/jmx-target.jar) plus a Gradle runTarget task and an end-to-end integration test (scripts/integration-test.sh) that drives the full exploit chain against the local target and asserts /bin/id returns a uid= line. Add GitHub Actions: - ci.yml — runs on push to dev / PRs into master|main|dev - release.yml — runs on v* tags Both build and integration-test across a Temurin JDK 8/11/17 + Oracle JDK 21 matrix and upload one zip artifact per target JDK (jmxshell-jdk<N>) containing jmxshell-<version>.jar at the root and web/compromise.jar. JDK 25 is intentionally not in the matrix: javax.management.loading.MLet was removed in JDK 23 (JDK-8297948), so the MLet-based exploit primitive cannot succeed against a JDK 23+ target. README documents this.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the Makefile with a Gradle build that targets JDK 8 by default and supports building for JDK 11/17/21 via -PtargetJdk= using Java toolchains. Merge RemoteMbean and CleanupMbean into a single executable jar (com.jmxshell.JmxShell) with long-form CLI options:
--host, --port, --command, --url, --cleanup,
--username/--password (paired), --version, --help
Add the standalone vulnerable JMX target (build/target/jmx-target.jar) plus a Gradle runTarget task and an end-to-end integration test (scripts/integration-test.sh) that drives the full exploit chain against the local target and asserts /bin/id returns a uid= line.
Add GitHub Actions:
JDK 25 is intentionally not in the matrix: javax.management.loading.MLet was removed in JDK 23 (JDK-8297948), so the MLet-based exploit primitive cannot succeed against a JDK 23+ target. README documents this.