thewhiteh4t/pwnedOrNot — reverse-engineered prompt
Reverse engineered prompt
Build me a Python command line tool that helps someone check whether an email address has shown up in known data breaches. It should use the Have I Been Pwned v3 API, accept an API key from an environment variable, a config file, or a command option, and show clear results like the breach name, domain, breach date, and whether the breach was verified, fabricated, retired, or marked as spam.
I want to be able to check one email, check a whole file of emails, save only the pwned results to a file, filter results by a specific breached domain, look up details for a named breach, list breached domains, and check whether a domain is pwned. Also add an option to skip searching public password dumps and only show breach info.
Make it easy to install and run on Linux, Termux, and Docker. Keep the output readable for normal users, with helpful errors when the API key is missing or a request fails. Look up current API docs online if needed.
Want more depth? Deep Reverse