🕵️♂️ (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
add(globaltimes.py): add new module to email_scan/news
kaifcodecab574ecf8d3a
diff --git a/user_scanner/email_scan/news/globaltimes.py b/user_scanner/email_scan/news/globaltimes.pynew file mode 100644index 0000000..3c9e1f7--- /dev/null+++ b/user_scanner/email_scan/news/globaltimes.py@@ -0,0 +1,54 @@+import httpx+import json+from user_scanner.core.result import Result+++async def _check(email: str) -> Result:+ url = "https://enapp.globaltimes.cn/api/user/login"++ payload = {+ "mail": email,+ "password": "21A5F558F45BE7FEA45A47EF4CAEC71B",+ "sensorsDistinctId": "",+ "sensorsAnonymousId": ""+ }++ headers = {+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Mobile Safari/537.36",+ 'Content-Type': "application/json;charset=UTF-8",+ 'Token': "null",+ 'Vcode': "232",+ 'Origin': "https://enapp.globaltimes.cn",+ 'Referer': "https://enapp.globaltimes.cn/web/login",+ }++ try:+ async with httpx.AsyncClient(timeout=10.0) as client:+ response = await client.post(url, content=json.dumps(payload), headers=headers)+ data = response.json()+ message = data.get("msg", "")++ taken_indicators = [+ "password is incorrect",+ "account will be locked",+ "number of retries has reached the maximum"+ ]++ if any(indicator in message for indicator in taken_indicators):+ return Result.taken()++ if "don't recognize this account" in message:+ return Result.available()++ return Result.error("Unexpected response body, report it on github")++ except httpx.ConnectTimeout:+ return Result.error("Connection timed out!")+ except httpx.ReadTimeout:+ return Result.error("Server took too long to respond (Read Timeout)")+ except Exception as e:+ return Result.error(e)+++async def validate_globaltimes(email: str) -> Result:+ return await _check(email)