Charta Aetatis Cyberpunk

Console For you Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Community & Q&A · r/AskNetsec · 8d · 2 min read

How can a tool accept your command-line flag and still have it "not arrive" where it's used? (real example from OWASP Amass v5)

Short version for anyone learning: modern Go tools are often split into two programs (CLI + engine) that talk over HTTP. The CLI turns your flags into a struct and sends it as JSON. The engine unmarshals it into a fresh struct. If a field is tagged json:"-" in Go, it means "never send, never receive" — the CLI set it to true, the engine received false, the plugin looked at false and did nothing. Program exits 0. json:"-" is not a comment. It's a wire-protocol decision. Real-world example and fix: article on medium, PR: [#1161]. submitted by /u/2cfly [link] [comments]

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 551 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks