Error: jq: error (at <stdin>:0): Cannot index string with string "dns_names"
Yashvendra opened this issue · 8 comments
Yashvendra commented
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 commented
Same error here... Any solution?
hitesh9811 commented
same issue, any solution?
ProngedFork commented
Same issue, any help would be greatly appreciated
ProngedFork commented
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 commented
it is showning same error
bharath619 commented
certspotter(){
curl -s https://api.certspotter.com/v1/issuances\?domain\=$1\&expand\=dns_names\&expand\=issuer | jq '.[].dns_names[]' | tr -d '"' | sort -u
}
rogermax007 commented
Thanks
…On Wed, 30 Jun 2021 at 8:06 PM, bharath619 ***@***.***> wrote:
certspotter(){
curl -s
https://api.certspotter.com/v1/issuances\?domain\=$1\&expand\=dns_names\&expand\=issuer
| jq '.[].dns_names[]' | tr -d '"' | sort -u
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARNXEV2CDPVODAAL2DMYORLTVMTWLANCNFSM4J73K5CQ>
.
sai-beep commented
thanks Dear brother