Skip to content

Commit

Permalink
Land #703, Fix Java Meterpreter payloads failing with OpenJDK on Alpi…
Browse files Browse the repository at this point in the history
…ne Linux
  • Loading branch information
adfoster-r7 authored May 21, 2024
2 parents d08cbb0 + cde5c5e commit 49f273a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ private static int getVersion() {
}
}

// Early-access releases add a "-ea" suffix
// These are the default versions for Alpine
if (version.endsWith("-ea")) {
version = version.substring(0, version.length() - 3);
}

return Integer.parseInt(version) + ExtensionLoader.V1_base;
}

Expand Down

0 comments on commit 49f273a

Please sign in to comment.