Bash-only port scanner shows how to build basic network reconnaissance
A guide explains how a Linux user can check open ports without nmap by using Bash's /dev/tcp feature, which opens TCP connections through redirection. Wrapping that check in nested loops produces a simple scanner, and a timeout is needed so filtered ports do not stall the loop. A ping sweep can likewise find live hosts, though it is serial, misses hosts that block ICMP, and reveals no service details. The author stresses that such scans should only target systems one is authorised to test, and that writing one's own tools aids debugging and learning. The article also promotes a recon CTF, a Linux cheat sheet, a scripting book, and a Black Friday sale.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in