Skip to content

Instantly share code, notes, and snippets.

@idefixcert
Last active August 24, 2022 09:39
Show Gist options
  • Save idefixcert/cc248c92154f4d281cf8189e9a4d6248 to your computer and use it in GitHub Desktop.
Save idefixcert/cc248c92154f4d281cf8189e9a4d6248 to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
proxy = "SOCKS5 192.168.200.48:4128; SOCKS4 192.168.200.48:4128"
if (dnsDomainIs(host, ".ardanlabs.com.")
|| dnsDomainIs(host, ".ardanlabs.com")
|| dnsDomainIs(host, "ardanlabs.com")
|| dnsDomainIs(host, ".ardmediathek.de.")
|| dnsDomainIs(host, ".ardmediathek.de")
|| dnsDomainIs(host, "ardmediathek.de")
) {
return proxy;
}
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment