🕵️♂️ (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(freelancer.py): create new jobs category and add first module to it
kaifcodec9b9bddd56e77
diff --git a/user_scanner/email_scan/jobs/freelancer.py b/user_scanner/email_scan/jobs/freelancer.pynew file mode 100644index 0000000..7bf76c4--- /dev/null+++ b/user_scanner/email_scan/jobs/freelancer.py@@ -0,0 +1,43 @@+import httpx+import json+from user_scanner.core.result import Result+++async def _check(email: str) -> Result:+ url = "https://www.freelancer.com/api/users/0.1/users/check?compact=true&new_errors=true"++ payload = {+ "user": {+ "email": email+ }+ }++ headers = {+ 'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0",+ 'Accept': 'application/json, text/plain, */*',+ 'Content-Type': 'application/json',+ 'Origin': 'https://www.freelancer.com',+ }++ try:+ async with httpx.AsyncClient(timeout=5.0) as client:+ response = await client.post(url, content=json.dumps(payload), headers=headers)++ if response.status_code == 409 and "EMAIL_ALREADY_IN_USE" in response.text:+ return Result.taken()++ elif response.status_code == 200:+ return Result.available()++ return Result.error(f"Unexpected status code {response.status_code} or rate limit")++ except httpx.ConnectTimeout:+ return Result.error("Connection timed out! maybe region blocks")+ 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_freelancer(email: str) -> Result:+ return await _check(email)