Closed Techbrunch closed 1 year ago
Silent option is not taken into account when using -exclude-cdn option.
-exclude-cdn
The -exclude-cdn flag implicitly adds the CDN name to the output.
The -silent flag suppresses it from stdout only but it doesn't affect the output.
-silent
❯ naabu -version __ ___ ___ ___ _/ / __ __ / _ \/ _ \/ _ \/ _ \/ // / /_//_/\_,_/\_,_/_.__/\_,_/ v2.1.2 projectdiscovery.io [INF] Current Version: 2.1.2
❯ sudo naabu -p 80,443,22 -host projectdiscovery.io -ec -silent -o output.txt projectdiscovery.io:80 projectdiscovery.io:443 ❯ cat output.txt projectdiscovery.io:80 [cloudflare] projectdiscovery.io:443 [cloudflare]
The CDN name should not be in the output unless the -cdn flag is passed:
-cdn
❯ sudo naabu -p 80,443,22 -host projectdiscovery.io -ec -silent -o output.txt projectdiscovery.io:80 projectdiscovery.io:443 ❯ cat output.txt projectdiscovery.io:80 projectdiscovery.io:443
@Techbrunch this is now fixed in latest release.
Silent option is not taken into account when using
-exclude-cdn
option.The
-exclude-cdn
flag implicitly adds the CDN name to the output.The
-silent
flag suppresses it from stdout only but it doesn't affect the output.Naabu version:
Current Behavior:
Expected Behavior:
The CDN name should not be in the output unless the
-cdn
flag is passed: