You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add flag to include default ports (80/443) in output #2328
When using httpx, ports 80 and 443 are omitted from the output by default. This becomes problematic when piping results to other tools (like nuclei, naabu, or custom scripts) that expect or benefit from explicit port notation, or when normalizing output for consistency in asset inventories.
Parsing JSON output and reconstructing URLs with jq
Post-processing with sed to append ports
These workarounds add complexity and break simple piping workflows.
Additional context
This would improve consistency when integrating httpx into automation pipelines and asset management workflows where explicit port notation is required.
@iKhaled6 fair usecase, we already have ldp option which does the same thing but for host header, we extended the same option to reflect the same in CLI output as well in #2331
Activity
ehsandeep commentedon Dec 6, 2025
@iKhaled6 fair usecase, we already have
ldpoption which does the same thing but for host header, we extended the same option to reflect the same in CLI output as well in #2331