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

enhance cdn flag to return cdn name instead of boolean result #492

Closed
ehsandeep opened this issue Jan 13, 2022 · 1 comment · Fixed by #499 or #532
Closed

enhance cdn flag to return cdn name instead of boolean result #492

ehsandeep opened this issue Jan 13, 2022 · 1 comment · Fixed by #499 or #532
Assignees
Labels
Priority: Medium This issue may be useful, and needs some attention. Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Milestone

Comments

@ehsandeep
Copy link
Member

Please describe your feature request:

chaos -d hackerone.com -silent | httpx -silent -cdn
https://mta-sts.managed.hackerone.com
- https://www.hackerone.com [cdn]
https://mta-sts.forwarding.hackerone.com
https://mta-sts.hackerone.com
- https://api.hackerone.com [cdn]
- https://support.hackerone.com [cdn]
https://gslink.hackerone.com
https://resources.hackerone.com
https://docs.hackerone.com
chaos -d hackerone.com -silent | httpx -silent -cdn
https://mta-sts.managed.hackerone.com
+ https://www.hackerone.com [cloudflare]
https://mta-sts.forwarding.hackerone.com
https://mta-sts.hackerone.com
+ https://api.hackerone.com [cloudflare]
+ https://support.hackerone.com [cloudflare]
https://gslink.hackerone.com
https://resources.hackerone.com
https://docs.hackerone.com

This requires changes in https://github.com/projectdiscovery/cdncheck

@ehsandeep ehsandeep added Type: Enhancement Most issues will probably ask for additions or changes. Priority: Medium This issue may be useful, and needs some attention. labels Jan 13, 2022
@brenocss
Copy link

The best of all worlds would be to have both fields in json that says if belongs to a cdn and the name of that cdn

echo 'hackerone.com' | httpx -cdn -cdn-title
https://api.hackerone.com [cloudflare]
echo 'hackerone.com' | httpx -cdn -json
{
  "cdn":true||false,
  "cdn_title": "cloudflare"
}

@Ice3man543 Ice3man543 self-assigned this Jan 15, 2022
@Ice3man543 Ice3man543 linked a pull request Jan 15, 2022 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Feb 7, 2022
@ehsandeep ehsandeep added this to the v1.2.0 milestone Mar 1, 2022
@ehsandeep ehsandeep linked a pull request Mar 1, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be useful, and needs some attention. Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants