ilusm.dev

proxy

SOCKS/HTTP proxy chains, tunneling, MITM helpers.

Load with: use proxy

Quick example

use proxy

result = proxy(10, 8080, "value", 8080)
prn(result)

Functions

SOCKS proxy wrappers

proxy(socks_host, socks_port, target_host, target_port)

Performs the operation. Takes socks_host, socks_port, target_host, target_port.

proxy(proxy_host, proxy_port, target_host, target_port)

Performs the operation. Takes proxy_host, proxy_port, target_host, target_port.

HTTP proxy

proxy(proxy_url, target_url)

Performs the operation. Takes proxy_url, target_url.

proxy(proxy_url, method, target_url, body, headers)

Performs the operation. Takes proxy_url, method, target_url, body, headers.

Proxy chains

proxy(proxies)

Performs the operation. Takes proxies.

proxy(chain, proxy)

Performs the operation. Takes chain, proxy.

proxy(chain, target_host, target_port)

Performs the operation. Takes chain, target_host, target_port.

TOR/proxy detection

proxy(ip)

Performs the operation. Takes ip.

proxy()

Performs the operation.

MITM helpers

proxy(host, cert_hash)

Performs the operation. Takes host, cert_hash.

proxy(response)

Performs the operation. Takes response.

Tunneling

proxy(local_port, remote_host, remote_port, proxy_host, proxy_port)

Performs the operation. Takes local_port, remote_host, remote_port, proxy_host, proxy_port.

Proxy rotation

proxy(proxies, current_idx)

Performs the operation. Takes proxies, current_idx.

proxy()

Performs the operation.

Anonymous proxies

proxy(proxy_url)

Performs the operation. Takes proxy_url.

Proxy authentication

proxy(user, pass)

Performs the operation. Takes user, pass.

proxy(user, pass)

Performs the operation. Takes user, pass.

WebSocket through proxy

proxy(proxy_host, proxy_port, ws_url)

Performs the operation. Takes proxy_host, proxy_port, ws_url.

Notes

  • HTTP/SOCKS proxy helpers - forward requests through a proxy.