🕵️♂️ (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.
Python cybersecuritycybersecurity-toolsemail-osintethical-hackingethical-hacking-toolsidentificationinfosecosintosint-emailosint-toolosint-toolsosint-usernamepentestingpythonredteam-toolsredteamingthreat-intelligence
import re
from user_scanner.core.impersonate import impersonate_request_async
from user_scanner.core.result import Result
_URL = "https://www.cvmarket.lt/remind/username"
_NOT_FOUND = "Su tokiu el. paštu registracijos nėra."
_REMINDER_SENT = "Jeigu su šiuo el. paštu yra paskyrą, jūs turėjote gauti"
_SEND_FAILED = "Laiško nurodytu adresu {} išsiųsti nepavyko!"
async def validate_cvmarket_lt(email: str) -> Result:
"""Send a username reminder when the email belongs to an account."""
show_url = "https://www.cvmarket.lt"
try:
page = await impersonate_request_async(_URL)
if page.status_code != 200 or 'id="reminderForm"' not in page.text:
return Result.error(
f"Unexpected reminder page response: {page.status_code}",
url=show_url,
)
token = re.search(
r"name=['\"]csrf_token['\"] value=['\"]([^'\"]+)", page.text
)
if not token:
return Result.error("Could not find reminder CSRF token", url=show_url)
response = await impersonate_request_async(
_URL,
method="POST",
data={"csrf_token": token.group(1), "email": email},
headers={"Referer": _URL},
)
except Exception as exc:
return Result.error(exc, url=show_url)
if response.status_code != 200:
return Result.error(
f"Unexpected reminder response: {response.status_code}", url=show_url
)
if _NOT_FOUND in response.text:
return Result.available(url=show_url)
if _REMINDER_SENT in response.text or _SEND_FAILED.format(email) in response.text:
return Result.taken(url=show_url)
return Result.error("Unexpected reminder response body", url=show_url)