Metasploit has an auxiliary module that can be used to perform TCP connect scans on specified TCP ports:
- To open up Metasploit in Kali Linux, use the msfconsole command in a Terminal session, as follows:
- To call the TCP connect scan module in Metasploit, use the use command with the relative path of the auxiliary module. Once the module has been selected, the show options command can be used to identify and/or modify scan configurations. This command will display four column headers to include: Name, Current Setting, Required, and Description. The Name column identifies the name of each configurable variable. ...