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.

fix: Accept dynamic HTTP method in make_request via kwargs

kaifcodec53e64777ee1f
diff --git a/user_scanner/core/orchestrator.py b/user_scanner/core/orchestrator.py
index 9188ef3..94e1770 100644
--- a/user_scanner/core/orchestrator.py
+++ b/user_scanner/core/orchestrator.py
@@ -138,7 +138,7 @@ def run_checks(username: str, printer: Printer, last: bool = True) -> List[Resul
return results
-def make_get_request(url: str, **kwargs) -> httpx.Response:
+def make_request(url: str, **kwargs) -> httpx.Response:
"""Simple wrapper to **httpx.get** that predefines headers and timeout"""
if not "headers" in kwargs:
kwargs["headers"] = {
@@ -152,7 +152,9 @@ def make_get_request(url: str, **kwargs) -> httpx.Response:
if not "timeout" in kwargs:
kwargs["timeout"] = 5.0
- return httpx.get(url, **kwargs)
+ method = kwargs.pop("method", "GET")
+
+ return httpx.request(method.upper(), url, **kwargs)
def generic_validate(url: str, func: Callable[[httpx.Response], AnyResult], **kwargs) -> AnyResult:
@@ -160,7 +162,7 @@ def generic_validate(url: str, func: Callable[[httpx.Response], AnyResult], **kw
A generic validate function that makes a request and executes the provided function on the response.
"""
try:
- response = make_get_request(url, **kwargs)
+ response = make_request(url, **kwargs)
result = func(response)
result.url = url
return result