RAD50/cyberscan ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python network scanner tool that I can run from the command line for ethical security testing.

I want it to take a single IP, a range, or a CIDR block, find which hosts are alive, scan chosen ports or a port range, and try to identify common services from the port number and a quick banner check. It should support faster scans with multiple threads, let me set a timeout, and print clear progress while it runs.

Please also let me save the results to a text file, CSV, or JSON, and make the output easy to read in the terminal, with the host, open ports, and service names. If root access is needed for some checks, handle that gracefully and explain it. Keep it focused on the scanning and reporting, and if you need current best practices for Python networking or banner grabbing, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab