Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/urakesh661/port-checker

Script for checking connection to ports using nc.
https://github.com/urakesh661/port-checker

Last synced: 3 months ago
JSON representation

Script for checking connection to ports using nc.

Awesome Lists containing this project

README

        

# port-checker
Script for checking connection to ports using nc.

The script checks for open ports on the provided list of host names.By default the script checks for ports 22,80,443.
A specific port number or a range of port numbers can also be provided.

Usage:

1.Check for only default ports:

./port-checker.sh /home/rakesh/Documents/data/domains.txt

2.Check for a specific port:

./port-checker.sh /home/rakesh/Documents/data/domains.txt 80

3.Check for range of ports:

./port-checker.sh /home/rakesh/Documents/data/domains.txt 21-80

Credit:

The tool is inspired by @gwen001 https://bit.ly/2zqoC08 script.