New Modules and update to 1.19.3 (#186)

This commit is contained in:
SodaXwX
2022-12-23 21:45:57 +08:00
committed by GitHub
parent 64933773a7
commit 3c14b3bc8f
33 changed files with 663 additions and 454 deletions

View File

@@ -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();
}
}