Skip to content

CSV output ignores command line options for what to extract #1593

Closed

Description

@Spidle

httpx version:

v1.4.0

Current Behavior:

When

Expected Behavior:

When running http with -csv as the output, I should only get the data columns that I've specified in the command line. However, I get everything instead. no problem for one site, but for hundreds, its way too much data.

Steps To Reproduce:

run httpx without csv
echo "yahoo.com" | httpx -title -status-code -tech-detect -follow-redirects -asn -ip -cdn -server -ss

image

run httpx with csv

echo "yahoo.com" | httpx -title -status-code -tech-detect -follow-redirects -asn -ip -cdn -server -ss -csv -o out.csv

image

Activity

  1. added
    Type: Bug
    on Feb 20, 2024
  2. ehsandeep commented on Mar 6, 2024

    @ehsandeep
    Member

    @Spidle thanks for flagging this, although default output fields are not created based on CLI input, including body / header as default is unexpected and seems be a bug that we will fixing asap.

  3. Spidle commented on Mar 6, 2024

    @Spidle
    Author

    @Spidle thanks for flagging this, although default output fields are not created based on CLI input, including body / header as default is unexpected and seems be a bug that we will fixing asap.

    Thanks for looking at it! I suppose another alternative would be to omit in the same way that PD's Katana does with -or and -ob.

  4. ehsandeep commented on Mar 6, 2024

    @ehsandeep
    Member
  5. lovelyjuice commented on Sep 12, 2024

    @lovelyjuice

    The bug still exists in httpx now, when using the -filter-condition parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions