-
httpx version:v1.1.5 Current Behavior:echo 'google.com' | httpx -cdn -json | jq .cdn
Expected Behavior:echo 'google.com' | httpx -cdn -json | jq .cdn
Use caseecho 'google.com
hackerone.com' | httpx -json >> log.json
echo 'google.com
hackerone.com' | httpx -cdn -json >> log.json # Get all hosts's that is from any cdn
cat log.json | jq 'select(.cdn==true).url' # Get all hosts's that isn't from any cdn
cat log.json | jq 'select(.cdn==false).url'
# cat log.json | jq 'select(.cdn!=true).url' doesn't work because it returns null with or without the -cdn flag, getting invalid results |
Beta Was this translation helpful? Give feedback.
Answered by
ehsandeep
Jan 14, 2022
Replies: 1 comment 2 replies
-
@brenocss this feature will be updated with #492, so instead of returning true/false, it will return the name of the cdn. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ehsandeep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@brenocss this feature will be updated with #492, so instead of returning true/false, it will return the name of the cdn.