import asyncio, aiohttp, json

BASE = "http://129.153.62.97:8040"
BODY = {"email": "qa-probe@example.com", "name": "QA", "masterPasswordHash": "AAAA",
        "masterPasswordHint": None, "key": "2.aaaa", "kdf": 0, "kdfIterations": 600000}

CANDS = ["/identity/accounts/register", "/identity/api/accounts/register",
         "/api/accounts/register", "/identity/accounts/prelogin",
         "/api/accounts/prelogin", "/identity/connect/token"]


async def main():
    tout = aiohttp.ClientTimeout(total=15)
    async with aiohttp.ClientSession(timeout=tout, headers={"User-Agent": "Mozilla/5.0"}) as s:
        for path in CANDS:
            for method in ("POST", "GET"):
                try:
                    fn = s.post if method == "POST" else s.get
                    kw = {"json": BODY} if method == "POST" else {}
                    async with fn(BASE + path, ssl=False, **kw) as r:
                        t = await r.text()
                    print(f"{method:4s} {path:32s} -> {r.status} ct={r.headers.get('Content-Type','')[:30]} body={t[:100]!r}")
                except Exception as e:
                    print(f"{method:4s} {path:32s} -> ERR {type(e).__name__}")

asyncio.run(main())
