Perform following steps to get banner information using DMitry:
- As was previously discussed in the port scanning recipes of this book, DMitry can be used to run a quick TCP port scan on 150 of the most commonly used services. This can be done using the -p option:
![](http://images-20200215.ebookreading.net/16/3/3/9781787287907/9781787287907__kali-linux-network__9781787287907__assets__B06298_04_09-1024x529.png)
- This port scan option is required in order to perform banner grabbing with DMitry. It is possible to also have DMitry grab any available banners when connections are attempted with each of these 150 ports. This can be done using the -b option in conjunction with the -p option:
![](http://images-20200215.ebookreading.net/16/3/3/9781787287907/9781787287907__kali-linux-network__9781787287907__assets__B06298_04_10-1024x599.png)