MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / Socks5AuthHook

Class Socks5AuthHook

mitmproxy/proxy/layers/modes.py:123–130  ·  view source on GitHub ↗

Mitmproxy has received username/password SOCKS5 credentials. This hook decides whether they are valid by setting `data.valid`.

Source from the content-addressed store, hash-verified

121
122@dataclass
123class Socks5AuthHook(StartHook):
124 """
125 Mitmproxy has received username/password SOCKS5 credentials.
126
127 This hook decides whether they are valid by setting `data.valid`.
128 """
129
130 data: Socks5AuthData
131
132
133class Socks5Proxy(DestinationKnown):

Callers 1

state_authMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…