Skip to content

🕵️‍♂️ (2-in-1) Email & Username OSINT suite featuring native MCP support for deep data extraction just from a single Email/Username. Analyzes 2720+ actively maintained scan vectors (210+ email / 2510+ username) for security research, investigations, and digital footprinting.

1.7 KB
Raw Blame
import httpx
from user_scanner.core.result import Result


async def _check(email: str) -> Result:
    url = "https://proactiveapp.com/account/login_native_v1"
    show_url = "https://womanlog.com"

    payload = {
        "email": email,
        "password": "dummy_password_xyz123",
        "package": "com.womanlog",
        "app_version": "7.3.5",
        "os": "A",
    }

    headers = {
        "User-Agent": "Dalvik/2.1.0 (Linux; U; Android 13; WayDroid x86_64 Device Build/TQ3A.230901.001)",
        "Accept-Encoding": "gzip",
    }

    async with httpx.AsyncClient(http2=True) as client:
        try:
            response = await client.post(url, data=payload, headers=headers, timeout=6.0)

            if response.status_code == 429:
                return Result.error("Rate limited", url=show_url)

            if response.status_code == 200:
                data = response.json()
                error_code = data.get("error_code")
                if error_code == "INCORRECT_PASSWORD":
                    return Result.taken(url=show_url)
                elif error_code == "EMAIL_NOT_FOUND":
                    return Result.available(url=show_url)

                return Result.error("Unexpected response body, report it via GitHub issues", url=show_url)

            return Result.error(
                f"Unexpected response status: {response.status_code}, report it via GitHub issues",
                url=show_url,
            )

        except Exception as e:
            return Result.error(e, url=show_url)


async def validate_womanlog(email: str) -> Result:
    """
    WomanLog (ProactiveApp) email validator.
    Checks login_native_v1 endpoint with form data.
    """
    return await _check(email)