Dhruv-Creator-De-Pal/P_15 ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python command line tool that can watch local wired network traffic on Linux or Unix, then save what it sees for later review.
I want it to start with a simple check that I have the right permissions, find active ethernet interfaces, and let me choose one if there’s more than one. Then it should capture traffic from that interface and write it to a pcap file, while also keeping a small local record in SQLite so I can search or review sessions later. If the packet data has readable text, show that in a human friendly way too.
It would be great if there’s an optional AI mode that can summarize what was captured or answer questions about the session, using my own API key if I choose to enable it. Keep everything local by default, make the steps clear in the terminal, and make it work on low resource machines like a Raspberry Pi as well as regular Linux boxes. If you need to check current library docs, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit