Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-csv has two identicat "favicon" fields #2074

Open
clysel opened this issue Jan 13, 2025 · 1 comment · Fixed by #2075
Open

-csv has two identicat "favicon" fields #2074

clysel opened this issue Jan 13, 2025 · 1 comment · Fixed by #2075
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@clysel
Copy link

clysel commented Jan 13, 2025

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>

@clysel clysel added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jan 13, 2025
@clysel
Copy link
Author

clysel commented Jan 13, 2025

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

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

@dogancanbakir dogancanbakir self-assigned this Jan 15, 2025
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants