Ashish-bot/sql-finding-script ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple bash script that takes a target domain and runs a full SQL injection finding workflow for me.
I want it to make a new folder named after the target plus a timestamp, then collect subdomains, check which ones are alive, pull archived URLs, filter for likely SQL injection endpoints, and finally run sqlmap in batch mode to check them and save the results to a file.
Please make it easy to run from the command line like ./script.sh example.com, and show a helpful message if I forget to pass a domain. It should save each step’s output into clearly named files inside the new folder so I can review everything later. If you need to, look up current docs online for the tools involved so the commands are correct.
Are you gonna build this?
make sure you review the code using coderabbit