sensepost / SPartan

Frontpage and Sharepoint fingerprinting and attack tool.
277 stars 77 forks source link

Error when running in Kali #17

Open thebandit19 opened 5 years ago

thebandit19 commented 5 years ago

Hello,

I'm trying to run Spartan in Kali 2018.4 and i get the following error : SPartan.py:733: SyntaxWarning: name 'authed' is assigned to before global declaration global authed Traceback (most recent call last): File "SPartan.py", line 25, in import argparse,requests,sys,os,threading,bs4,warnings,random File "/usr/local/lib/python2.7/dist-packages/bs4/init.py", line 30, in from .builder import builder_registry, ParserRejectedMarkup File "/usr/local/lib/python2.7/dist-packages/bs4/builder/init.py", line 314, in from . import _html5lib File "/usr/local/lib/python2.7/dist-packages/bs4/builder/_html5lib.py", line 70, in class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder): AttributeError: 'module' object has no attribute '_base'

Please advise

ankushgoel27 commented 5 years ago

i am getting the same error

paragonsec commented 5 years ago

I solved it by doing the following:

pip install --upgrade beautifulsoup4
securiteinfo commented 5 years ago

pip install --upgrade html5lib can solve this issue

williamcaput commented 2 years ago

https://github.com/MayankPandey01/Sparty-2.0