ilusm.dev

tun

ICMP tunneling, DNS tunnels, HTTP covert channels.

Load with: use tun

Quick example

use tun

result = icmpo("value", "value")
prn(result)

Functions

ICMP tunneling

icmpo(lip, rip)

Performs the operation. Takes lip, rip.

icmpc(h)

Performs the operation. Takes h.

icmps(h, d)

Performs the operation. Takes h, d.

icmpr(h, tmo)

Processes or prints. Takes h, tmo.

icmpe(d)

Performs the operation. Takes d.

DNS tunneling

dnsen(d)

Encodes. Takes d.

dnsde(e)

Decodes. Takes e.

dnsop(ns, dom)

Opens a connection or resource. Takes ns, dom.

dnsse(tun, d)

Sets a value. Takes tun, d.

tudns(tun, tmo)

Performs the operation. Takes tun, tmo.

HTTP covert channel

httpo(url, ck)

Performs the operation. Takes url, ck.

https(tun, d)

Performs the operation. Takes tun, d.

httpr(tun, poll)

Processes or prints. Takes tun, poll.

HTTPS/SSL covert

https1(tun, d)

Performs the operation. Takes tun, d.

WebSocket tunnel

wsope(wsurl)

Performs the operation. Takes wsurl.

tuwss(ws, d)

Performs the operation. Takes ws, d.

wsrec(ws, tmo)

Performs the operation. Takes ws, tmo.

Steganography tunnel (HTTP images)

tuste(ep)

Performs the operation. Takes ep.

tuste1(tun, d)

Performs the operation. Takes tun, d.

tuste2(tun, url)

Performs the operation. Takes tun, url.

TCP over DNS

tcpso(dom)

Performs the operation. Takes dom.

tcpso1(h, d)

Performs the operation. Takes h, d.

tcpso2(h, tmo)

Performs the operation. Takes h, tmo.

Multi-protocol relay

relay(port, prots)

Performs the operation. Takes port, prots.

relay1(rhost, rport, dhost, dport)

Performs the operation. Takes rhost, rport, dhost, dport.

Bandwidth throttling

throt(rate)

Performs the operation. Takes rate.

Traffic shaping (mimic normal traffic)

shape(tun)

Performs the operation. Takes tun.

Tunnel statistics

tunst(tun)

Sets a value or starts a process. Takes tun.

Heartbeat

tuhea(tun, ivl)

Performs the operation. Takes tun, ivl.

Notes

  • Network tunnelling - TUN/TAP devices, VPN primitives.