Add known room IDs to room bruteforcer
This commit is contained in:
@@ -3,13 +3,35 @@ import vona.config as config
|
||||
import multiprocessing
|
||||
|
||||
versions = [str(i) for i in range(1, 10)]
|
||||
desired_ver = input("Desired room version:\n\t")
|
||||
|
||||
if desired_ver == "10":
|
||||
print(f"!p0:{config.server_name}")
|
||||
try:
|
||||
desired_ver = input("Desired room version:\n\t")
|
||||
except (EOFError, KeyboardInterrupt):
|
||||
print("")
|
||||
exit(0)
|
||||
|
||||
if desired_ver not in versions:
|
||||
known = {
|
||||
"1": "qa",
|
||||
"2": "br",
|
||||
"3": "3",
|
||||
"4": "D",
|
||||
"5": "U",
|
||||
"6": "f",
|
||||
"7": "gx",
|
||||
"8": "hx",
|
||||
"9": "iy",
|
||||
"10": "p0",
|
||||
}
|
||||
|
||||
if desired_ver in known:
|
||||
print(f"!{known[desired_ver]}:{config.server_name} (from known room ID list)")
|
||||
try:
|
||||
input("Press enter to bruteforce anyway:\n\t")
|
||||
except (EOFError, KeyboardInterrupt):
|
||||
print("")
|
||||
exit(0)
|
||||
|
||||
elif desired_ver not in versions:
|
||||
print("Unsupported room version")
|
||||
exit(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user