This is a straightforward program created by using Python version Three. You can perform TCP port scanning against any host within Intranet, Extranet & Internet by this tool. This tool can scan according to a given port range or a custom port(s) list or an inbuilt default port range.
usage: python3 tcps.py [-h] [--host HOST] [--default] [--list] [--pL PL [PL ...]] [--range] [--sP SP] [--eP EP]
optional arguments:
-h, --help show this help message and exit
--host HOST Enter IP address or Hostname
--default Use default port range (21, 22, 23, 80, 443)
--list Enable port list scanning
--pL PL [PL ...] Ports for port list scanning (Eg: --pL 21 22 80)
--range Enable port range scanning
--sP SP Starting port number for port range scanning (between 1 and 65534)
--eP EP Ending port number for port range scanning (between 1 and 65534)
python3 tcps.py --host <target-host> --default
python3 tcps.py --host <target-host> --list --pL 21 22 80 443
python3 tcps.py --host <target-host> --range --sP 79 --eP 81
My blog post about this: TCP Scanner (TCPS)