Skip to content

Add -c, --csv flag for CSV-formatted output #745

Closed

Description

@fuleinist

Please describe your feature request:

Add a -c, --csv flag that writes uncover results in CSV format (with a header row) so the tool integrates seamlessly with the rest of the projectdiscovery pipeline (httpx, nuclei, subfinder) and the wider security-tooling ecosystem that already speaks CSV.

The flag should reuse the same field-projection logic as the existing -f, -field flag (which today accepts ip, port, host and defaults to ip:port) so users can pick which columns to include, e.g.:

$ uncover -q 'ssl:"Uber Technologies, Inc."' -e shodan -csv
ip,port,host
107.180.12.116,993,
107.180.26.155,443,

Suggested default columns when -csv is set without -f: ip,port,host.

Describe the use case of this feature:

A typical recon chain today looks like:

$ uncover -q ... -e shodan,censys -j | jq -r '"\(.ip):\(.port)"' | httpx -csv | nuclei -csv

The first step produces JSONL or raw text, forcing a jq rewrite between uncover and the next tool. With a first-class -csv flag on uncover the same chain becomes:

$ uncover -q ... -e shodan,censys -csv | httpx -csv | nuclei -csv

matching the conventions already established by sister tools (httpx -csv, nuclei -csv) and removing the glue script. CSV is also easier to load into spreadsheets for triaging small result sets.

Activity

  1. added 3 commits that reference this issue on Jun 30, 2026
    17124fa
    5d8c8cc
    e00390e
  2. added a commit that references this issue on Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions