nahamsec/recon_profile

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

Yashvendra opened this issue · 8 comments

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"

Same error here... Any solution?

same issue, any solution?

Same issue, any help would be greatly appreciated

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

it is showning same error

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

thanks Dear brother