nahamsec / recon_profile

409 stars 225 forks source link

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

Open Yashvendra opened 4 years ago

Yashvendra commented 4 years ago

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 4 years ago

Same error here... Any solution?

hitesh9811 commented 4 years ago

same issue, any solution?

ProngedFork commented 3 years ago

Same issue, any help would be greatly appreciated

ProngedFork commented 3 years ago

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 3 years ago

it is showning same error

bharath619 commented 3 years ago

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 3 years ago

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 https://github.com/nahamsec/recon_profile/issues/7#issuecomment-871461218, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARNXEV2CDPVODAAL2DMYORLTVMTWLANCNFSM4J73K5CQ .

sai-beep commented 1 year ago

thanks Dear brother