Download on GitHub: cleansweep.sh
CleanSweep is a simple bash script that probes a range of IP addresses looking for a specific port. Depending on the port number, it will also grab banners and the source of web pages.
This is useful if you want to quickly sweep a large environment and are only looking for a specific port or would like to quickly grab the banners, ssl certificates, source code and more. It's really nothing new, just utilizes nmap for port scanning, netcat for banner grabbing, and curl for pulling source code and puts all of this information into a simple report allowing you to comb through it for specifics at a later time.
If you have suggestions or comments please feel free to shoot me a message.