You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Looking for the Go (v2.x) version?** Dalfox v3 is a complete rewrite in Rust. The Go codebase is preserved on the [`v2` branch](https://github.com/hahwul/dalfox/tree/v2) and continues to receive security backports. See [SECURITY.md](https://raw.githubusercontent.com/hahwul/dalfox/main/./SECURITY.md) for the support policy.
@@ -15,12 +14,13 @@ Dalfox is a powerful open-source tool that focuses on automation, making it idea
Copy file name to clipboardExpand all lines: metadata/readme/0157.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,14 @@ OUTPUT:
86
86
-j, -json write output in JSON lines format
87
87
-csv write output in csv format
88
88
89
+
SERVICES-DISCOVERY:
90
+
-sD, -service-discovery identify services by port number
91
+
-sV, -service-version detect service versions using nmap-service-probes
92
+
-sV-fast only probe port-hinted services (faster, skips fallback)
93
+
-sV-timeout duration timeout for service version probes (default 5s)
94
+
-sV-workers int number of concurrent service version workers (default 25)
95
+
-sV-probes string custom nmap-service-probes file path (auto-detected if empty)
96
+
89
97
CONFIGURATION:
90
98
-config string path to the naabu configuration file (default $HOME/.config/naabu/config.yaml)
91
99
-scan-all-ips, -sa scan all the IP's associated with DNS record
@@ -366,6 +374,35 @@ PORT STATE SERVICE VERSION
366
374
8443/tcp open ssl/https-alt cloudflare
367
375
```
368
376
377
+
# Service Version Detection
378
+
379
+
Naabu has built-in service version detection using nmap's service probes database. This runs in parallel with port scanning for maximum performance.
380
+
381
+
```sh
382
+
naabu -host scanme.sh -sV
383
+
```
384
+
385
+
```console
386
+
scanme.sh:22 [ssh OpenSSH/6.6.1p1]
387
+
scanme.sh:80 [http Apache httpd/2.4.7]
388
+
scanme.sh:9929 [nping-echo Nping echo]
389
+
390
+
[INF] Found 3 ports on host scanme.sh (45.33.32.156) with 3 services identified
391
+
```
392
+
393
+
Available flags:
394
+
395
+
| Flag | Description |
396
+
|------|-------------|
397
+
|`-sV`| Enable service version detection |
398
+
|`-sV-fast`| Only probe port-hinted services (faster, skips fallback probes) |
399
+
|`-sV-timeout duration`| Timeout for service version probes (default 5s) |
400
+
|`-sV-workers int`| Number of concurrent service version workers (default 25) |
401
+
|`-sV-probes string`| Custom nmap-service-probes file path (auto-detected if empty) |
402
+
|`-sD`| Service discovery (match port number to service name, no active probing) |
403
+
404
+
The `-sV` flag requires the `nmap-service-probes` database file. Naabu automatically looks for it in standard nmap installation paths. To use a custom file, specify the path with `-sV-probes`.
405
+
369
406
# CDN/WAF Exclusion
370
407
371
408
Naabu also supports excluding CDN/WAF IPs being port scanned. If used, only `80` and `443` ports get scanned for those IPs. This feature can be enabled by using `exclude-cdn` flag.
0 commit comments