How to do it...

DMitry is a multipurpose tool that can be used to perform a TCP scan on a target system. Its capabilities are somewhat limited, but it is a simple tool that can be used quickly and effectively:

  1. To view the options available for the dmitry command, we execute the following program in a Terminal without any arguments:
  1. As indicated in the usage output, the -p option can be used to perform a TCP port scan. To do this, we use this option with the IP address of the system to be scanned. DMitry has 150 commonly used preconfigured ports that it will scan for. Out of these ports, it will display any that it finds open. Consider the following example:
  1. There is not much customization available for TCP port scanning with DMitry, but it can be a quick and effective way to assess the commonly used services on a single host. We can also output the results of a DMitry scan to a text file using the -o option and by specifying the name of the file to be output in the execution directory:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset