iot
IoT device testing, MQTT, CoAP, Zigbee, Z-Wave.
Load with: use iot
Quick example
use iot
result = iotto("value", "value", "hello")
prn(result)
Functions
MQTT
iotto(h, p, cid)
Converts to another format. Takes h, p, cid.
iomqt(h)
Performs the operation. Takes h.
iotts(h, t)
Performs the operation. Takes h, t.
iottp(h, t, pl, q)
Performs the operation. Takes h, t, pl, q.
iottl(h, tmo)
Performs the operation. Takes h, tmo.
MQTT discovery
iottd(h, p)
Performs the operation. Takes h, p.
CoAP
coapg(h, p, path)
Performs the operation. Takes h, p, path.
coapp(h, p, path, pl)
Performs the operation. Takes h, p, path, pl.
coapd(h, p)
Performs the operation. Takes h, p.
Zigbee
zbgat()
Performs the operation.
zbjoi(ch)
Performs the operation. Takes ch.
zblea()
Performs the operation.
zbsen(dst, d)
Encodes. Takes dst, d.
zbrec(tmo)
Performs the operation. Takes tmo.
Z-Wave
zwdis()
Returns true/false based on a condition.
zwope(hid)
Performs the operation. Takes hid.
zwcls(h)
Lists items. Takes h.
zwcmd(h, nid, cc, cmd, d)
Performs the operation. Takes h, nid, cc, cmd, d.
Tuya
tuyad()
Adds an item.
tuyac(dev, key)
Performs the operation. Takes dev, key.
UPnP/SSDP
upnpd()
Performs the operation.
upnpd1(url)
Performs the operation. Takes url.
Device fingerprinting
iotfp(h, p)
Performs the operation. Takes h, p.
Default credential testing
iotcr(h, p, proto)
Creates a new instance. Takes h, p, proto.
Firmware extraction
fwext(ip, m)
Performs the operation. Takes ip, m.
UART/JTAG debug
uarto(dev, baud)
Converts to another format. Takes dev, baud.
uarts(h, d)
Performs the operation. Takes h, d.
uartr(h, tmo)
Performs the operation. Takes h, tmo.
Common IoT vulns
mirai(h, p)
Performs the operation. Takes h, p.
Notes
- IoT device helpers - MQTT, sensor data, device registry.