Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

No JSON object could be decoded #30

Open
rdek opened this issue Sep 10, 2019 · 2 comments
Open

No JSON object could be decoded #30

rdek opened this issue Sep 10, 2019 · 2 comments

Comments

@rdek
Copy link

rdek commented Sep 10, 2019

Hi Swissky!
Thanks for the awesome tool, unfortunately I've struggling with JSON parse error like:

/> ./wordpresscan.py -u "http://scannedsite.org/" --random-agent
...
[!] WordPress version 4.1 identified from advanced fingerprinting
Traceback (most recent call last):
  File "./wordpresscan.py", line 62, in <module>
    Scan_Engine(wp, results.aggressive)
  File "/opt/Wordpresscan/engine/scan.py", line 16, in __init__
    self.list_wp_version_vulnerabilities(wordpress, "wordpresses")
  File "/opt/Wordpresscan/engine/scan.py", line 106, in list_wp_version_vulnerabilities
    data = json.load(data_file)
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  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

Software obtained thru git clone https://github.com/swisskyrepo/Wordpresscan
python version: 2.7.16+
Any ideas?

@truesamurai
Copy link

I am having the same error. I do have some results from the scan but at some part the error pops up.

@slekiz
Copy link

slekiz commented Jan 20, 2020

same error to...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants