Mayankkumar-2067/SysHawk ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Linux security scanner script that I can run from the terminal to check a machine for common problems and fix the easy ones automatically.

I want it to do a quick scan for open ports, firewall status, running services, and suspicious cron jobs, then a deeper scan that looks for signs of rootkits or other malware using common system security tools if they are available. If the firewall is off, turn it on. If obvious risky services like telnet or ftp are enabled, disable them and show me what changed. It should save a clear log with a timestamp each time it runs, and if it finds anything serious, send an email alert too.

Please make it work on Linux, keep it straightforward to use, and include a clean menu so I can choose quick or deep scan. If you need current command details, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab