Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it is not working now!!! #7

Closed
Phoenix1112 opened this issue May 18, 2020 · 2 comments
Closed

it is not working now!!! #7

Phoenix1112 opened this issue May 18, 2020 · 2 comments

Comments

@Phoenix1112
Copy link

hello.The spsee's program, which worked well before, no longer works. cidr and ssl-certificates scans now fail. the program started giving json errors.


root@localhost:~# spyse -target 55.105.40.0/24 -param cidr --domains-on-ip

  File "/usr/local/bin/spyse", line 188, in get_domains_on_ip
    data = s.domains_on_ip(target, param=param, page=page)
  File "/usr/local/lib/python3.7/dist-packages/spyse/spyse.py", line 216, in domains_on_ip
    return r.json()
  File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 892, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


root@localhost:~# spyse -target "org: Microsoft" --ssl-certificates    

Traceback (most recent call last):
  File "/usr/local/bin/spyse", line 242, in get_ssl_certificates
    certs = s.ssl_certificates(target, param, page)
  File "/usr/local/lib/python3.7/dist-packages/spyse/spyse.py", line 457, in ssl_certificates
    return r.json()
  File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 892, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/spyse", line 448, in <module>
    print(get_ssl_certificates(args.target, param, page))
  File "/usr/local/bin/spyse", line 258, in get_ssl_certificates
    return certs
UnboundLocalError: local variable 'certs' referenced before assignment


@ddervosj
Copy link

+1 same issue

@zeropwn
Copy link
Owner

zeropwn commented May 19, 2020

Spyse deprecated the v1 API, which is currently what spyse.py uses. An updated version is being worked on. Thanks for your patience.

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

No branches or pull requests

3 participants