You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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