mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
fix: behinder payload classname is invalid
This commit is contained in:
@@ -41,9 +41,8 @@ public class Utils {
|
|||||||
|
|
||||||
public static String getRandomClassName() {
|
public static String getRandomClassName() {
|
||||||
String[] domainAs = new String[]{"com", "net", "org", "sun"};
|
String[] domainAs = new String[]{"com", "net", "org", "sun"};
|
||||||
String domainB = getRandomAlpha((new Random()).nextInt(5) + 3).toLowerCase();
|
String domainB = getRandomAlpha((new Random()).nextInt(5) + 3);
|
||||||
String domainC = getRandomAlpha((new Random()).nextInt(5) + 3).toLowerCase();
|
String domainC = getRandomAlpha((new Random()).nextInt(5) + 3);
|
||||||
String domainD = getRandomAlpha((new Random()).nextInt(5) + 3).toLowerCase();
|
|
||||||
String className = getRandomAlpha((new Random()).nextInt(7) + 4);
|
String className = getRandomAlpha((new Random()).nextInt(7) + 4);
|
||||||
className = className.substring(0, 1).toUpperCase() + className.substring(1).toLowerCase();
|
className = className.substring(0, 1).toUpperCase() + className.substring(1).toLowerCase();
|
||||||
int domainAIndex = (new Random()).nextInt(4);
|
int domainAIndex = (new Random()).nextInt(4);
|
||||||
|
|||||||
Reference in New Issue
Block a user