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

AttributeError: 'sploitVulners' object has no attribute '_Vulners__opener' #23

Open
ghost opened this issue Dec 30, 2021 · 3 comments
Open

Comments

@ghost
Copy link

ghost commented Dec 30, 2021

Hi,

When I tried to update getsploit database, I got this error:

/usr/local/lib/venvs/getsploit/lib/python3.9/site-packages/vulners/vulners.py:439: DeprecationWarning: Vulners is deprecated and will be removed in future release. Use VulnersApi instead.
  warnings.warn(
Traceback (most recent call last):
  File "/usr/local/bin/getsploit", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/venvs/getsploit/lib/python3.9/site-packages/getsploit/getsploit.py", line 195, in main
    vulners_lib._Vulners__opener.headers.update({'User-Agent': 'Vulners Getsploit %s' % __version__})
AttributeError: 'sploitVulners' object has no attribute '_Vulners__opener'

Any idea ?

@mkmnstr123
Copy link

Having the same issue...

@nair0lf32
Copy link

Facing the same issue very similar to issue #21. Same traceback errors when I try to enter my API key

@Pixelschleuder
Copy link

I found a fork that works fine because it ported getsploit to the new 2.0 API: https://github.com/bbhunter/getsploit.git

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