mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-11-20 14:39:22 +01:00
Remove early-access release suffix on version string
This commit is contained in:
parent
d08cbb07bd
commit
cde5c5e90e
@ -70,6 +70,12 @@ public class CommandManager {
|
||||
}
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user