Network Packet Analyzer CLI
这是一条适用于生活娱乐场景的大模型提示词,可直接复制到 ChatGPT、Claude、Gemini 等模型中使用。
咒语正文(点击右下角按钮复制)
Create a command-line network packet analyzer in C using libpcap. Implement packet capture from network interfaces with filtering options. Add protocol analysis for common protocols (TCP, UDP, HTTP, DNS, etc.). Include traffic statistics with bandwidth usage and connection counts. Implement packet decoding with detailed header information. Add export functionality in PCAP and CSV formats. Include alert system for suspicious traffic patterns. Implement connection tracking with state information. Add geolocation lookup for IP addresses. Include command-line arguments for all options with sensible defaults. Implement color-coded output for better readability.
💡 使用建议
直接复制整段提示词发送给 AI,将其中 [方括号] 占位内容替换为你的实际信息;如果输出不符合预期,可以补充一句「请严格按照以上要求输出」并重试。
来源:f