s0md3v / ReconDog

Reconnaissance Swiss Army Knife
Apache License 2.0
1.8k stars 337 forks source link

ValueError: No JSON object could be decoded #18

Closed hexrom closed 5 years ago

hexrom commented 5 years ago

When running Option 9 (Detect technologies) against a domain, the framework exits with the following error:

url>>  placeholder.com
Traceback (most recent call last):
  File "dog", line 85, in <module>
    dog(choice, target)
  File "dog", line 67, in dog
    hq(choice)
  File "/root/Tools/ReconDog/core/hq.py", line 80, in hq
    plugin(validatedInp)
  File "/root/Tools/ReconDog/plugins/detectTech.py", line 8, in detectTech
    jsoned_data = json.loads(data)
  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
root@kali:~/Tools/ReconDog#

No issues running any of the other module options

s0md3v commented 5 years ago

You entered a domain, not a URL. Do what the program said, thanks.

hexrom commented 5 years ago

You entered a domain, not a URL. Do what the program said, thanks.

My fault, thanks