@@ -510,16 +510,17 @@ func gen_agent_cmd() *cobra.Command {
510510 }
511511 }
512512 }
513+
513514 genAgentCmd .Flags ().StringP ("cc" , "" , default_cc , "C2 server address (Required)" )
514- genAgentCmd .Flags ().StringP ("c2-channel-mode" , "" , def .C2ChannelModeDefault , fmt .Sprintf ("C2 channel wrapper mode. Available: %s" , strings .Join (transport .AllC2ChannelModes (), ", " )))
515- genAgentCmd .Flags ().StringP ("cc-http-port" , "" , live .RuntimeConfig .CCHTTPPort , "Port for plain HTTP C2 transport" )
515+ genAgentCmd .Flags ().StringP ("c2-channel-mode" , "" , def .C2ChannelModeDefault , fmt .Sprintf ("C2 channel wrapper mode. Available: %s" , strings .Join (transport .AllC2ChannelModesDetailed (), "; " )))
516+ genAgentCmd .Flags ().StringP ("cc-http-port" , "" , live .RuntimeConfig .CCHTTPPort , "Port for HTTP Polling/Beaconing C2 transport" )
516517 genAgentCmd .Flags ().StringP ("proxy" , "" , "" , "Hard coded proxy URL for agent's C2 transport. Example: socks5://127.0.0.1:9050" )
517518 genAgentCmd .Flags ().StringP ("cdn" , "" , "" , "CDN proxy to reach C2. Example: wss://cdn.example.com/ws" )
518519 genAgentCmd .Flags ().StringP ("doh" , "" , "" , "DNS over HTTPS server to use for DNS resolution. Example: https://1.1.1.1/dns-query" )
519520 genAgentCmd .Flags ().BoolP ("kcp" , "" , false , "Use KCP (secure UDP multiplexed tunnel)" )
520521 addFlagToGroup ("C2 Transport Options" , "cc" , "c2-channel-mode" , "cc-http-port" , "proxy" , "cdn" , "doh" , "kcp" )
521522
522- // Group 3: Beaconing (Polling Mode Only)
523+ // Group 3: Beaconing (Polling/Beaconing Mode Only)
523524 genAgentCmd .Flags ().IntP ("interval" , "i" , 60 , "C2 beacon interval in seconds" )
524525 genAgentCmd .Flags ().IntP ("jitter" , "j" , 20 , "C2 beacon jitter percentage (0-100)" )
525526 addFlagToGroup ("Beaconing Options (HTTP Mode)" , "interval" , "jitter" )
0 commit comments