🕵️♂️ (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
initial_commit_21/10/2025
kaifcodeceda03fcbcd33
diff --git a/.gitignore b/.gitignoreindex b7faf40..9c3887e 100644--- a/.gitignore+++ b/.gitignore@@ -1,207 +1,3 @@-# Byte-compiled / optimized / DLL files-__pycache__/-*.py[codz]-*$py.class--# C extensions-*.so--# Distribution / packaging-.Python-build/-develop-eggs/-dist/-downloads/-eggs/-.eggs/-lib/-lib64/-parts/-sdist/-var/-wheels/-share/python-wheels/-*.egg-info/-.installed.cfg-*.egg-MANIFEST--# PyInstaller-# Usually these files are written by a python script from a template-# before PyInstaller builds the exe, so as to inject date/other infos into it.-*.manifest-*.spec--# Installer logs-pip-log.txt-pip-delete-this-directory.txt--# Unit test / coverage reports-htmlcov/-.tox/-.nox/-.coverage-.coverage.*-.cache-nosetests.xml-coverage.xml-*.cover-*.py.cover-.hypothesis/-.pytest_cache/-cover/--# Translations-*.mo-*.pot--# Django stuff:-*.log-local_settings.py-db.sqlite3-db.sqlite3-journal--# Flask stuff:-instance/-.webassets-cache--# Scrapy stuff:-.scrapy--# Sphinx documentation-docs/_build/--# PyBuilder-.pybuilder/-target/--# Jupyter Notebook-.ipynb_checkpoints--# IPython-profile_default/-ipython_config.py--# pyenv-# For a library or package, you might want to ignore these files since the code is-# intended to run in multiple environments; otherwise, check them in:-# .python-version--# pipenv-# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.-# However, in case of collaboration, if having platform-specific dependencies or dependencies-# having no cross-platform support, pipenv may install dependencies that don't work, or not-# install all needed dependencies.-#Pipfile.lock--# UV-# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.-# This is especially recommended for binary packages to ensure reproducibility, and is more-# commonly ignored for libraries.-#uv.lock--# poetry-# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.-# This is especially recommended for binary packages to ensure reproducibility, and is more-# commonly ignored for libraries.-# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control-#poetry.lock-#poetry.toml--# pdm-# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.-# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.-# https://pdm-project.org/en/latest/usage/project/#working-with-version-control-#pdm.lock-#pdm.toml-.pdm-python-.pdm-build/--# pixi-# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.-#pixi.lock-# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one-# in the .venv directory. It is recommended not to include this directory in version control.-.pixi--# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm-__pypackages__/--# Celery stuff-celerybeat-schedule-celerybeat.pid--# SageMath parsed files-*.sage.py--# Environments.env-.envrc-.venv-env/-venv/-ENV/-env.bak/-venv.bak/--# Spyder project settings-.spyderproject-.spyproject--# Rope project settings-.ropeproject--# mkdocs documentation-/site--# mypy-.mypy_cache/-.dmypy.json-dmypy.json--# Pyre type checker-.pyre/--# pytype static type analyzer-.pytype/--# Cython debug symbols-cython_debug/--# PyCharm-# JetBrains specific template is maintained in a separate JetBrains.gitignore that can-# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore-# and can be added to the global gitignore or merged into this file. For a more nuclear-# option (not recommended) you can uncomment the following to ignore the entire idea folder.-#.idea/--# Abstra-# Abstra is an AI-powered process automation framework.-# Ignore directories containing user credentials, local state, and settings.-# Learn more at https://abstra.io/docs-.abstra/--# Visual Studio Code-# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore-# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore-# and can be added to the global gitignore or merged into this file. However, if you prefer,-# you could uncomment the following to ignore the entire vscode folder-# .vscode/--# Ruff stuff:-.ruff_cache/--# PyPI configuration file-.pypirc--# Cursor-# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to-# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data-# refer to https://docs.cursor.com/context/ignore-files-.cursorignore-.cursorindexingignore+__pycache__/-# Marimo-marimo/_static/-marimo/_lsp/-__marimo__/diff --git a/requirements.txt b/requirements.txtnew file mode 100644index 0000000..0bb9a42--- /dev/null+++ b/requirements.txt@@ -0,0 +1,2 @@+httpx+coloramadiff --git a/social/facebook.py b/social/facebook.pynew file mode 100644index 0000000..0d59d11--- /dev/null+++ b/social/facebook.py@@ -0,0 +1,97 @@+import httpx+from httpx import ConnectError, TimeoutException, TooManyRedirects, codes++def validate_facebook_vanity_url(user: str) -> int:+ """+ Checks if a Facebook vanity URL (username) exists.++ Returns:+ 0: Unavailable (User exists)+ 1: Available (User does not exist)+ 2: Error (Rate-limited, blocked, or connection issue)+ """+ url = f"https://www.facebook.com/{user}"++ # Use comprehensive, common browser headers to reduce the chance of a 400/403 block.+ # The 'cookie' field can be critical, even if empty.+ headers = {+ 'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36",+ 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",+ 'Accept-Encoding': "gzip, deflate, br",+ 'Accept-Language': "en-US,en;q=0.9",+ 'DNT': "1",+ 'Connection': "keep-alive",+ # Adding a fake cookie can sometimes bypass basic bot checks+ 'Cookie': 'c_user=123; xs=abc'+ }++ # Facebook uses aggressive anti-bot measures. The request must be very patient.+ try:+ # We use follow_redirects=False to check the initial response/redirect location.+ # This can be more reliable than following to a login page.+ response = httpx.get(+ url,+ headers=headers,+ follow_redirects=True,+ timeout=15.0, # Increased timeout for slow/complex handshake+ # Using HTTP/2 can sometimes help with site compatibility+ http2=True+ )+ status = response.status_code++ # Log the final URL and status for debugging+ print(f"Final URL: {response.url}")+ print(f"Final Status: {status}")++ # --- Check for existence ---++ # 1. User/Page exists: The server responds with 200 OK (the profile page content)+ # or it redirects to a generic login page/error page AFTER checking the existence.+ # If the status is 200, the username exists.+ if status == codes.OK:+ return 0 # Unavailable (Username exists)++ # 2. User/Page does NOT exist: The server should return a 404 Not Found.+ # This is the only definitive signal for availability.+ elif status == codes.NOT_FOUND:+ return 1 # Available (Username does not exist)++ # 3. Blocked/Error: All other codes (e.g., 400, 403, 500) mean the request was blocked+ # before the existence check could be performed.+ else:+ # Print the response body if it's small enough (e.g., less than 2KB)+ if len(response.text) < 2048:+ print("\n--- Response Content (Likely Error/Block Page) ---")+ print(response.text)+ print("--------------------------------------------------\n")++ # The '400 Bad Request' or '403 Forbidden' you saw previously falls here.+ return 2 # Error (Request Blocked/Rate-limited)++ except (ConnectError, TimeoutException, TooManyRedirects) as e:+ print(f"Network/Connection Error: {type(e).__name__} - {e}")+ return 2 # Error (Network issue)+ except Exception as e:+ print(f"An unexpected error occurred: {type(e).__name__} - {e}")+ return 2 # General Error++if __name__ == "__main__":+ try:+ import httpx+ except ImportError:+ print("Error: 'httpx' library is not installed. Run: pip install httpx")+ exit()++ user = input ("Username?: ").strip()++ # You should test with known accounts:+ # Exists: zuck, cocacola, google+ # Not exists: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0_available+ result = validate_facebook_vanity_url(user)++ if result == 1:+ print("\nResult: Available! (Likely does not exist)")+ elif result == 0:+ print("\nResult: Unavailable! (User/Page exists)")+ else:+ print("\nResult: Error/Blocked! (Could not confirm status due to rate limit or block)")diff --git a/social/instagram.py b/social/instagram.pynew file mode 100644index 0000000..ae6260c--- /dev/null+++ b/social/instagram.py@@ -0,0 +1,48 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_instagram(user):+ url = f"https://www.instagram.com/api/v1/users/web_profile_info/?username={user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36",+ 'X-IG-App-ID': "936619743392459",+ 'Accept': "application/json, text/javascript, */*; q=0.01",+ 'Accept-Encoding': "gzip, deflate, br",+ 'Accept-Language': "en-US,en;q=0.9",+ 'X-Requested-With': "XMLHttpRequest",+ 'Referer': f"https://www.instagram.com/{user}/",+ }++ try:+ response = httpx.get(url, headers=headers, timeout = 15.0)+ status = response.status_code++ if status == 200:+ return 0+ elif status == 404:+ return 1+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ try:+ import httpx+ except ImportError:+ print("Error: 'httpx' library is not installed.")+ exit()++ user = input ("Username?: ").strip()+ result = validate_instagram(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occured!")diff --git a/tech/__init__.py b/tech/__init__.pynew file mode 100644index 0000000..06e9672--- /dev/null+++ b/tech/__init__.py@@ -0,0 +1 @@+# techdiff --git a/tech/codeberg.py b/tech/codeberg.pynew file mode 100644index 0000000..479ebb0--- /dev/null+++ b/tech/codeberg.py@@ -0,0 +1,37 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_codeberg(user):+ url = f"https://codeberg.org/{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36",+ 'Accept': "text/html",+ }++ try:+ response = httpx.head(url, headers=headers, timeout=3.0, follow_redirects=True)+ status = response.status_code++ if status == 200:+ return 0+ elif status == 404:+ return 1+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_codeberg(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/cratesio.py b/tech/cratesio.pynew file mode 100644index 0000000..4f947be--- /dev/null+++ b/tech/cratesio.py@@ -0,0 +1,39 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_cratesio(user):+ url = f"https://crates.io/api/v1/users/{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36",+ 'Accept': "application/json",+ 'Referer': "https://crates.io/",+ 'sec-fetch-mode': "cors",+ }++ try:+ response = httpx.head(url, headers=headers, timeout=5.0)+ status = response.status_code++ if status == 200:+ return 0+ elif status == 404:+ return 1+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_cratesio(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/devto.py b/tech/devto.pynew file mode 100644index 0000000..ee51f2b--- /dev/null+++ b/tech/devto.py@@ -0,0 +1,37 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_devto(user):+ url = f"https://dev.to/{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",+ 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",+ }++ try:+ response = httpx.head(url, headers=headers, timeout=3.0, follow_redirects=True)+ status = response.status_code++ if status == 200:+ return 0+ elif status == 404:+ return 1+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_devto(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/dockerhub.py b/tech/dockerhub.pynew file mode 100644index 0000000..675e3d5--- /dev/null+++ b/tech/dockerhub.py@@ -0,0 +1,40 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_dockerhub(user):+ url = f"https://hub.docker.com/v2/users/{user}/"++ headers = {+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",+ 'Accept': "application/json",+ }++ try:+ response = httpx.get(url, headers=headers, timeout=3.0)+ status = response.status_code++ # UNAVAILABLE (return 0) if the user API endpoint returns 200 OK+ if status == 200:+ return 0+ # AVAILABLE (return 1) if the user API endpoint returns 404 Not Found+ elif status == 404:+ return 1+ # Other status codes are errors+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_dockerhub(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/github.py b/tech/github.pynew file mode 100644index 0000000..998b0cc--- /dev/null+++ b/tech/github.py@@ -0,0 +1,46 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_github(user):+ url = f"https://github.com/signup_check/username?value={user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",+ 'Accept-Encoding': "gzip, deflate, br, zstd",+ 'sec-ch-ua-platform': "\"Linux\"",+ 'sec-ch-ua': "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Google Chrome\";v=\"140\"",+ 'sec-ch-ua-mobile': "?0",+ 'sec-fetch-site': "same-origin",+ 'sec-fetch-mode': "cors",+ 'sec-fetch-dest': "empty",+ 'referer': "https://github.com/signup?source=form-home-signup&user_email=",+ 'accept-language': "en-US,en;q=0.9",+ 'priority': "u=1, i"+}++ try:+ response = httpx.get(url, headers=headers, timeout = 3.0)+ status = response.status_code++ if status == 200:+ return 1+ elif status == 422:+ return 0+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_github(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occured!")diff --git a/tech/gitlab.py b/tech/gitlab.pynew file mode 100644index 0000000..528cf0e--- /dev/null+++ b/tech/gitlab.py@@ -0,0 +1,51 @@+import httpx+import json+from httpx import ConnectError, TimeoutException++def validate_gitlab(user):+ url = f"https://gitlab.com/users/{user}/exists"++ headers = {+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",+ 'Accept': "application/json, text/plain, */*",+ 'X-Requested-With': "XMLHttpRequest",+ 'Referer': "https://gitlab.com/users/sign_up",+ }++ try:+ response = httpx.get(url, headers=headers, timeout=3.0)++ if response.status_code == 200:+ data = response.json()++ if 'exists' in data:+ # Corrected: Compare against Python boolean True/False+ # AVAILABLE (return 1) if "exists": true+ if data['exists'] is False:+ return 1+ # UNAVAILABLE (return 0) if "exists": false+ elif data['exists'] is True:+ return 0++ return 2++ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except json.JSONDecodeError:+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_gitlab(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/hashnode.py b/tech/hashnode.pynew file mode 100644index 0000000..e822cbe--- /dev/null+++ b/tech/hashnode.py@@ -0,0 +1,54 @@+import httpx+import json+from httpx import ConnectError, TimeoutException++def validate_hashnode(user):+ url = "https://hashnode.com/utility/ajax/check-username"++ payload = {+ "username": user,+ "name": "Dummy Dummy"+ }++ headers = {+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36",+ 'Accept': "application/json",+ 'Content-Type': "application/json",+ 'Origin': "https://hashnode.com",+ 'Referer': "https://hashnode.com/signup",+ }++ try:+ response = httpx.post(url, json=payload, headers=headers, timeout=3.0)++ if response.status_code == 200:+ data = response.json()++ if 'status' in data:+ if data['status'] == 1:+ return 1+ elif data['status'] == 0:+ return 0++ return 2++ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except json.JSONDecodeError:+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_hashnode(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/kaggle.py b/tech/kaggle.pynew file mode 100644index 0000000..0eb5a30--- /dev/null+++ b/tech/kaggle.py@@ -0,0 +1,41 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_kaggle(user):+ url = f"https://www.kaggle.com/{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36",+ 'Accept': "text/html",+ }++ try:+ # Use GET request for maximum fidelity, though we only check status code+ response = httpx.get(url, headers=headers, timeout=3.0, follow_redirects=True)+ status = response.status_code++ # If a profile exists (Taken) -> 200 OK+ if status == 200:+ return 0+ # If no profile exists (Available) -> 404 Not Found+ elif status == 404:+ return 1+ # Other status codes are errors+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_kaggle(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/launchpad.py b/tech/launchpad.pynew file mode 100644index 0000000..5933d7b--- /dev/null+++ b/tech/launchpad.py@@ -0,0 +1,39 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_launchpad(user):+ url = f"https://launchpad.net/~{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36",+ 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9",+ 'Accept-Encoding': "gzip, deflate, br, zstd",+ 'Upgrade-Insecure-Requests': "1",+ }++ try:+ response = httpx.head(url, headers=headers, timeout=5.0, follow_redirects=True)+ status = response.status_code++ if status == 200:+ return 0+ elif status == 404:+ return 1+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_launchpad(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/medium.py b/tech/medium.pynew file mode 100644index 0000000..d249711--- /dev/null+++ b/tech/medium.py@@ -0,0 +1,41 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_medium(user):+ url = f"https://medium.com/@{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",+ 'Accept': "text/html",+ }++ try:+ response = httpx.get(url, headers=headers, timeout=3.0)++ if response.status_code == 200:+ html_text = response.text+++ username_tag = f'property="profile:username" content="{user}"'++ if username_tag in html_text:+ return 0+ else:+ return 1+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_medium(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/npmjs.py b/tech/npmjs.pynew file mode 100644index 0000000..9300634--- /dev/null+++ b/tech/npmjs.py@@ -0,0 +1,40 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_npmjs(user):+ url = f"https://www.npmjs.com/~{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",+ 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",+ 'Accept-Encoding': "gzip, deflate, br, zstd",+ 'accept-language': "en-US,en;q=0.9",+ 'priority': "u=0, i"+}++ try:+ response = httpx.head(url, headers=headers, timeout=3.0, follow_redirects=True)+ status = response.status_code++ if status == 200:+ return 0+ elif status == 404:+ return 1+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_npmjs(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")diff --git a/tech/replit.py b/tech/replit.pynew file mode 100644index 0000000..8c56c92--- /dev/null+++ b/tech/replit.py@@ -0,0 +1,37 @@+import httpx+from httpx import ConnectError, TimeoutException++def validate_replit(user):+ url = f"https://replit.com/@{user}"++ headers = {+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36",+ 'Accept': "text/html",+ }++ try:+ response = httpx.head(url, headers=headers, timeout=3.0, follow_redirects=True)+ status = response.status_code++ if status == 200:+ return 0+ elif status == 404:+ return 1+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ user = input ("Username?: ").strip()+ result = validate_replit(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occurred!")