projectdiscovery / naabu

A fast port scanner written in go with a focus on reliability and simplicity. Designed to be used in combination with other tools for attack surface discovery in bug bounties and pentests
https://projectdiscovery.io
MIT License
4.69k stars 548 forks source link

Missing CDN info in CSV file, with mal-formated port data #882

Closed BCall-BT closed 9 months ago

BCall-BT commented 10 months ago

CSV formatting is broken with cdn checks I used to run the following command naabu -list ToScan.txt -top-ports 1000 -o Results.csv -csv -cdn -exclude-cdn -scan-all-ips -c 15 -rate 500

previously I would have a csv file with a boolean for CDNs, and a separate column for ports. Now I only have 3 columns "IP, port, timestamp" and instead of just the port number in the port column the results are displayed as with what I assume is meant to be the some of the cdn data. Example "443-0-false"

dogancanbakir commented 10 months ago

@BCall-BT, This will be fixed in #884. And for the 443-0-false part; this is coming from https://github.com/projectdiscovery/naabu/blob/7b2a43467769e17bb3a0c0c5c5e0dcfaf1460fcd/v2/pkg/port/port.go#L16