Skip to content

-csv has two identicat "favicon" fields #2074

Closed

Description

@clysel

httpx version:

v1.6.9

Current Behavior:

-csv option outputs two identical fields for "favicon"

...,path,favicon,favicon,favicon_path,favicon_url,...

Expected Behavior:

-csv option should one have field for "favicon"

...,path,favicon,favicon_path,favicon_url,...

Steps To Reproduce:

httpx -csv -u github.com

outputs

   __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

		projectdiscovery.io

[INF] Current httpx version v1.6.9 (latest)
[WRN] UI Dashboard is disabled, Use -dashboard option to enable
timestamp,asn,csp,tls,hash,extract_regex,cdn_name,cdn_type,sni,port,url,input,location,title,scheme,error,webserver,body,body_preview,content_type,method,host,path,favicon,favicon,favicon_path,favicon_url,final_url,header,raw_header,request,time,jarm_hash,chain_status_codes,a,aaaa,cname,tech,extracts,chain,words,lines,status_code,content_length,failed,vhost,websocket,cdn,http2,pipeline,headless_body,screenshot_bytes,stored_response_path,screenshot_path,screenshot_path_rel,knowledgebase,resolvers,trace
2025-01-13 16:40:19.423306418 +0100 CET m=+2.642678798,<nil>,<nil>,<nil>,map[],[],,,,443,https://github.com,github.com,,"GitHub · Build and ship software on a single, collaborative platform · GitHub",https,,GitHub.com,,,text/html,GET,140.82.121.4,/,,,,,,map[],,,108.704229ms,,[],[140.82.121.4],[],[],[Amazon S3 Amazon Web Services GitHub Pages HSTS],map[],[],22673,1767,200,267682,false,false,false,false,false,false,,[],,,,map[PageType:other pHash:0],[1.1.1.1:53 1.0.0.1:53],<nil>

Activity

  1. added
    Type: Bug
    on Jan 13, 2025
  2. clysel commented on Jan 13, 2025

    @clysel
    Author

    FavIconMD5 string `json:"favicon_md5,omitempty" csv:"favicon" mapstructure:"favicon_md5"`

    I guess csv:"favicon" should be replaced with csv:"favicon_md5"

  3. added
    Status: Completed
    on Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Status: CompletedType: Bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions