Skip to content

Release 0.5.0

Choose a tag to compare

@jtprogru jtprogru released this 21 Jun 08:28
· 32 commits to main since this release
0.5.0
4abddb1

Machine-readable output (JSON / JSON Lines)

asphyxia can now emit structured results so it can act as the first stage of a pipeline (network map, coverage analysis) instead of only being read by a human.

Added

  • -o, --output text|json|jsonl on both ps and as (default text, behaviour unchanged). json prints a single array, jsonl one object per line. Machine output goes to stdout; banners, progress bar, and errors stay on stderr. Empty result is [] for json and no output for jsonl.
  • Per-result records: {ip, port?, proto, latency_ms, status} (port is omitted for address scans).
  • TCP connect latency capture, surfaced as latency_ms.

Changed

  • scan_port / scan_address now return PortHit / HostHit (carrying latency); scan_subnet / scan_ip_range return Vec<HostHit>.
  • Added serde / serde_json dependencies.

Full diff: 0.4.0...0.5.0

What's Changed

  • Add machine-readable JSON/JSONL output by @jtprogru in #10

Full Changelog: 0.4.0...0.5.0