b4x0rn/xRecon ? reverse-engineered prompt
Reverse engineered prompt
Build me a Bash tool that automatically does quick recon and basic vulnerability checks against one or more targets.
I want to be able to pass a domain, IP, several targets at once, or a file of targets, and have it check whether each target is alive, run a WHOIS lookup, do an Nmap scan with service detection and common scripts, and then look for a few obviously outdated services like Apache, OpenSSH, vsftpd, and MySQL. If it finds a web server, it should also run a Nikto scan and pull out anything that looks high or critical.
Please save everything in a clean output folder per target, with separate text files for WHOIS, Nmap, and Nikto results, plus a main log file with timestamps and a vulnerabilities summary. If anything needed is missing, install or prompt for it in a simple way so it can run on a Linux box with minimal setup. Keep it fast, organized, and easy to use from the command line.
Are you gonna build this?
make sure you review the code using coderabbit