knownsec / Pocsuite

This project has stopped to maintenance, please to https://github.com/knownsec/pocsuite3 project.
http://pocsuite.org
1.83k stars 607 forks source link

Error #138

Closed chrom closed 7 years ago

chrom commented 7 years ago

`pocsuite --url https://www.mysite.com/ --vul-keyword 'magento' --verify --report ./report.html

                          ,--. ,--.

,---. ,---. ,---.,---.,--.,----,-' '-.,---. {2.0.6-nongit-20170922} | .-. | .-. | .--( .-'| || ,--'-. .-| .-. : | '-' ' '-' \--.-' ' '' | | | | \ --. | |-'---' -------' ----'--' --'----' `--' http://pocsuite.org

[!] legal disclaimer: Usage of pocsuite for attacking targets without prior mutual consent is illegal.

[*] starting at 15:46:36

No JSON object could be decoded Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pocsuite/pocsuite_cli.py", line 157, in pcsInit if not s.newToken(): File "/Library/Python/2.7/site-packages/pocsuite/api/x.py", line 107, in newToken content = json.loads(req.content) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads return _default_decoder.decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded `

hysia commented 7 years ago

fixed, you can checkout

niubencoolboy commented 7 years ago

I also met this error , have you solved it?

niubencoolboy commented 7 years ago

` [!] legal disclaimer: Usage of pocsuite for attacking targets without prior mutual consent is illegal.

[*] starting at 22:41:33

No JSON object could be decoded Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pocsuite-2.0.6-py2.7.egg/pocsuite/pocsuite_cli.py", line 83, in pcsInit if z.newToken(): File "/usr/local/lib/python2.7/dist-packages/pocsuite-2.0.6-py2.7.egg/pocsuite/api/x.py", line 40, in newToken content = json.loads(req.content) 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

`