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

Error: jq: error (at <stdin>:0): Cannot index string with string "dns_names" #7

Open
Yashvendra opened this issue Dec 27, 2019 · 8 comments

Comments

@Yashvendra
Copy link

When tried running

for i in `certspotter developer.xxxx.com | httprobe`; do
       python3 ~/tools/dirsearch/dirsearch.py -u $1/  -t 200 -e php  
done

It throws this error:
jq: error (at <stdin>:0): Cannot index string with string "dns_names"

@catekuser
Copy link

Same error here... Any solution?

@hitesh9811
Copy link

same issue, any solution?

@ProngedFork
Copy link

Same issue, any help would be greatly appreciated

@ProngedFork
Copy link

I modified into this and it is working perfectly fine for me:
curl -s https://certspotter.com/api/v0/certs\?domain\=yahoo.com | jq '.[].dns_names[]' | tr -d '"' | sort -u

@rogermax007
Copy link

it is showning same error

@bharath619
Copy link

certspotter(){
curl -s https://api.certspotter.com/v1/issuances\?domain\=$1\&expand\=dns_names\&expand\=issuer | jq '.[].dns_names[]' | tr -d '"' | sort -u
}

@rogermax007
Copy link

rogermax007 commented Jun 30, 2021 via email

@sai-beep
Copy link

thanks Dear brother

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants