Ayush-Vaishnav/dos-attack-detector ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple DoS attack detection demo called DefenSite.
I want a Python backend and a browser frontend that shows a live monitoring page, a dummy login, and a main dashboard where I can see traffic being checked in real time. The app should let me try a few preset traffic types like normal traffic, Neptune SYN flood, Smurf ICMP flood, and Land attack, then run one prediction and show whether it gets allowed or blocked with a score.
Please also include a memory for known attacks so if the same attack shape shows up again, it gets blocked instantly without waiting for the model. I want a page that shows those learned attack fingerprints and how many times each has been seen. Add a small model insights view too, so I can see which features matter most.
Use a light and dark theme that remembers my choice, and make the live status widget visible on the landing page and login page too. If you need to look up current docs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit