recon-cli 0.95.0

Versatile network reconnaissance CLI: HTTP/TLS/DNS, multi-protocol probes, and a Rhai script engine
Documentation
1
2
3
4
5
6
7
8
9
10
// Usage: recon --script ntp [HOST]
//
// Query an NTP server and report clock offset + round-trip delay.

let host = if args.len() > 1 { args[1] } else { "pool.ntp.org" };
let r = ntp(host);
print(`${r.host}:${r.port}  stratum ${r.stratum} (${r.ref_id})`);
print(`  offset  ${r.offset_ms} ms`);
print(`  delay   ${r.delay_ms} ms`);
return 0;