New Modules and update to 1.19.3 (#186)
This commit is contained in:
@@ -5,6 +5,9 @@ import meteordevelopment.meteorclient.MeteorClient;
|
||||
import meteordevelopment.meteorclient.systems.modules.Module;
|
||||
import meteordevelopment.meteorclient.systems.modules.Modules;
|
||||
import meteordevelopment.meteorclient.utils.PostInit;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class RejectsUtils {
|
||||
|
||||
@PostInit
|
||||
@@ -26,4 +29,15 @@ public class RejectsUtils {
|
||||
}
|
||||
return dupe == 0 ? name : getModuleName(name + "*".repeat(dupe));
|
||||
}
|
||||
|
||||
public static String getRandomPassword(int num) {
|
||||
String str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";
|
||||
Random random = new Random();
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (int i = 0; i < num; i++) {
|
||||
int number = random.nextInt(63);
|
||||
sb.append(str.charAt(number));
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user