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

#23 · closed · 3 comments

View on GitHub ↗

ghost

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 ?

Comments

mkmnstr123

Having the same issue...

nair0lf32

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

Pixelschleuder

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