bugcrowd-levelup-subdomain-enumeration icon indicating copy to clipboard operation
bugcrowd-levelup-subdomain-enumeration copied to clipboard

cloudflare_enum.py showing ValueError

Open remonsec opened this issue 5 years ago • 2 comments

Facing this error while running cloudflare_enum.py

Traceback (most recent call last):
  File "./cloudflare_enum.py", line 223, in <module>
    cloud.get_spreadsheet(sys.argv[2])
  File "./cloudflare_enum.py", line 125, in get_spreadsheet
    dns_data = self.get_domain_dns( domain )
  File "./cloudflare_enum.py", line 77, in get_domain_dns
    data = json.loads( r.text )
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

image

remonsec avatar Jul 14 '20 09:07 remonsec

I suppose Cloudflare has changed their API. Cloudflare technique is not very practical anyway, it's just a fancy technique. I'll go ahead and remove it soon.

0xbharath avatar Jul 16 '20 04:07 0xbharath

is there any solution

haniamahrouse avatar Dec 14 '21 14:12 haniamahrouse