thebadinteger/p2pwn ? reverse-engineered prompt
Reverse engineered prompt
Build me a command line tool that can scan Dahua cameras over P2P and check which devices are online, vulnerable, or using weak passwords.
I want to give it a list of serial numbers or prefixes, then have it run fast with multiple workers, save the results to a CSV, and also create an import file for Dahua software. It should be able to grab a snapshot from the first channel when possible, and optionally add an on screen overlay to devices it finds. Please make the behavior easy to control from a config file, including which checks are enabled, how many retries to use, timeouts, and whether to run destructive options only when I explicitly ask for them.
If you need current details for any Dahua protocol behavior, look up the latest docs online and keep it working on Windows, Linux, and macOS.
Are you gonna build this?
make sure you review the code using coderabbit