+++
title = 'HowTo scan ports'
date = 2024-10-19
+++

### [naabu](https://github.com/projectdiscovery/naabu)



`naabu -nmap-cli 'nmap -sC -sV' -host host.url` - scan url and pass its ports to nmap service and version detection

Fast, user-friendly and have advanced features (e.g. - scan all IPs under DNS domain) - Cool!  
Have service and version detection in help (`-sD -sV`), but they never worked and just exists in help for more than 1 year.

### [rustscan](https://github.com/RustScan/RustScan)


`rustscan -a host.url -- -sC -sV` - scan url and pass its ports to nmap service and version detection

Fastest port scanner by default (but naabu will be fast enough anyway), have more dirty output by default (especially with nmap)

