projectdiscovery / httpx

httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library.
https://docs.projectdiscovery.io/tools/httpx
MIT License
7.53k stars 822 forks source link

feat: httpx results dashboard #1834

Closed tarunKoyalwar closed 2 months ago

tarunKoyalwar commented 2 months ago

Proposed Changes

Probe and Upload

$ chaos  -silent -d hackerone.com | ./httpx -pd -aname 'h1-httpx'               

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

        projectdiscovery.io

[INF] Current chaos version 0.5.2 (latest)
[INF] Current httpx version v1.6.6 (latest)
[INF] To view results on UI dashboard, visit https://cloud.projectdiscovery.io/assets upon completion
http://b.ns.hackerone.com
https://mta-sts.managed.hackerone.com
http://a.ns.hackerone.com
https://mta-sts.hackerone.com
https://mta-sts.forwarding.hackerone.com
https://www.hackerone.com
https://api.hackerone.com
https://resources.hackerone.com
https://docs.hackerone.com
https://gslink.hackerone.com
https://support.hackerone.com
[INF] Found 11 results, View found results in dashboard : https://cloud.projectdiscovery.io/assets/cqdtislcjsac738c26cg

Upload Already Existing JSONL output file

$ ./httpx -pdu targets.jsonl -aname "pdu flag upload x 2"

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

        projectdiscovery.io

[INF] Current httpx version v1.6.6 (latest)
[INF] To view results in UI dashboard, visit https://cloud.projectdiscovery.io/assets upon completion.
[INF] Found 11 results, View found results in dashboard : https://cloud.projectdiscovery.io/assets/cqh4u1e3s8ks7394gu0g

jsonlinesfile is generated when -output targets.jsonl -j flags are used

Available Flags

$ ./httpx -h cloud
httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library.

Usage:
  ./httpx [flags]

Flags:
CLOUD:
   -auth                           configure projectdiscovery cloud (pdcp) api key (default true)
   -pd, -dashboard                 upload / view output in projectdiscovery cloud (pdcp) UI dashboard
   -aid, -asset-id string          upload new assets to existing asset id (optional)
   -aname, -asset-name string      assets group name to set (optional)
   -pdu, -dashboard-upload string  upload httpx output file (jsonl) in projectdiscovery cloud (pdcp) UI dashboard