Skip to content

v1.2.0 - Echo Reply Mode & Robustness Hardening

Choose a tag to compare

@ariary ariary released this 21 Apr 08:08
· 4 commits to main since this release
c206a5b

What's New

Echo Reply Mode (new feature)

  • qsreceiver reply-send: waits for a trigger from the sender, then exfiltrates data back to the target via ICMP echo replies
  • qssender receive: sends a trigger packet and collects incoming echo reply data — useful when outbound ICMP from the target is filtered but echo replies are allowed

Robustness & Bug Fixes

  • Fixed race condition on concurrent packet writes with sync.Mutex
  • Fixed byte-based chunking in Chunks (was incorrectly rune-based)
  • Fixed double-connection bug in IcmpSendAndWaitForReply (single PacketConn for send+receive)
  • QueenSonoUnmarshall now returns an error instead of panicking on malformed input
  • Error propagation: functions return errors up the call stack; log.Fatal only at CLI entry points

Testing

  • Added 17 unit tests across pkg/icmp, pkg/message, and pkg/utils
  • Added GitHub Actions CI workflow (runs go test ./... on push and PR to main)

Modernization

  • Upgraded Go module to go 1.22
  • Replaced ioutil with os.ReadFile/os.WriteFile
  • Applied min() builtin for chunk boundary calculations