A port scanner is an application designed to probe a server or host for open ports. Such an application may be used by administrators to verify security policies of their networks and by attackers to identify network services running on a host and exploit vulnerabilities.
# Install Git
sudo apt install git
# Install Ruby
sudo apt install ruby
# Git Clone
git clone https://github.com/R3DHULK/port-scanner-in-ruby
# Change Directory
cd port-scanner-in-ruby
# Run This Tool
ruby port-scanner.rb