MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / client_ip

Function client_ip

IntelOSINT.py:2154–2155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2152
2153
2154def client_ip():
2155 return request.headers.get("X-Forwarded-For", request.remote_addr or "local").split(",")[0].strip()
2156
2157
2158def rate_limited(scope, limit=20, window=60):

Callers 1

rate_limitedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected