#!/usr/bin/env python3 """Verify Classic SRP login and realm listing without entering the game world.""" import argparse,hashlib,json,pathlib,secrets,socket,struct def verify(host,port,credentials): username=credentials['username'].upper().encode();password=credentials['password'].upper().encode() def h(data):return hashlib.sha1(data).digest() with socket.create_connection((host,port),timeout=8) as sock: def read(n): data=b'' while len(data)