2.7 Macros, multi-exec and network tools

Translated from French; the French version prevails if the two differ.

In short. Macros replay a sequence of commands in one or more terminals; multi-exec broadcasts your typing to several terminals at once; the network tools (port scan, ping, traceroute, DNS, whois, certificates…) open in a dedicated view. Everything is designed so you don’t run a command on the wrong server by mistake, and so no secret is ever kept.

Macros

The script

A macro is a readable script, one command per line, with a few directives:

DirectiveEffect
ordinary lineTyped, then sent with Enter.
@pause 2Waits 2 seconds (decimals accepted).
@wait $Waits until the text “$” is displayed; 30 seconds at most by default, otherwise the macro stops.
@delay 60Sets the timeout of the following @wait directives, in seconds.
@text abcSends “abc” without Enter.
@key ctrl+cSends a key: enter, tab, esc, backspace, arrows, ctrl+a to ctrl+z.
@#Comment.
@# Update a Debian server
@delay 300
sudo apt update
@wait $
sudo apt -y upgrade

Usage

Multi-exec (MultiExec)

Network tools

“Tools” in the sidebar (deep link tool=<id>). The view is laid out as follows:

Favorites, tabs, the Encode / Decode chain and history are kept from one session to the next. The “Network tools” button has left the toolbar. Results can be copied and exported. Nothing is sent anywhere other than the target you enter.

ToolDetails
Port scan (TCP)Address, name, range or network; “common” or listed ports; confirmation beyond a /24 or 1,024 ports.
Ping, continuous pingLatency and losses.
TraceroutePath to the target.
DNS lookupA, AAAA, MX, TXT, PTR, NS, CNAME, SOA; this computer’s servers queried together, or a chosen server.
WhoisIANA, then the designated registry.
SubnetsSubnet calculator, IPv4 and IPv6.
Listening portsPorts open on this computer, with the process.
Wake-on-LANWakes a machine over the network.
TLS certificateCertificate presented by a host.
SSH fingerprintA server’s host keys, compared with those already known.
HTTP checkOne GET request; the body isn’t read: status code, duration and protocol; redirects followed one by one (10 at most, downgrade to HTTP flagged); security headers (HSTS, CSP, X-Frame-Options or frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy); cookie flags; disclosed software version. Over HTTPS, a “Certificate” block, even when the certificate is rejected: subject, issuer (self-signed or not), validity, days left (alert under 30 days or after expiry), names (SAN), system verdict. A rejection gives its reason (name mismatch, self-signed, untrusted authority, incomplete chain, expired or revoked); nothing more is accepted.
Encode / DecodeChain of steps: Base64, URL, hex, HTML entities, JWT read without verifying the signature, JSON pretty-printed or minified, gzip + Base64, Base64 to hex, SHA-256, SHA-1, MD5, uppercase, lowercase. “Output → input”, “Copy”. The failing step is outlined in red with its error. The processed text is never saved; only the chain is. The same codecs are available from a session’s right-click menu (see 2.2 Sessions and terminal).
TimestampsUnix timestamp (s, ms, µs or ns depending on the number of digits) ⇄ readable date, in UTC, in this computer’s time zone, in ISO 8601 and RFC 1123, with the offset from now. Empty: now.

Not offered: network discovery (ARP, mDNS), packet capture, UDP scan.

Plans

Required plan: Discovery. Macros, multi-exec and network tools are included in the free plan, with no cap of their own (only the limit of 5 sessions open at the same time applies to terminals).