sensepost / kwetza

Python script to inject existing Android applications with a Meterpreter payload.
GNU General Public License v2.0
629 stars 238 forks source link

AttributeError: 'module' object has no attribute '_base' #17

Closed Bry-fi closed 7 years ago

Bry-fi commented 7 years ago

Error when I ran on python 2.7.13

Traceback (most recent call last): File "kwetza.py", line 5, in from bs4 import BeautifulSoup as Soup 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'

brompwnie commented 7 years ago

Good day, Could you please provide the command you executed that generated this? Also, this looks like an error generated from BeautifulSoup, a search on Google lead me to this link which may help, https://stackoverflow.com/questions/43023562/how-to-solve-module-object-has-no-attribute-base-issue.

Bry-fi commented 7 years ago

Sure. Anything running the application caused this error such as python kwetza.py -h or python kwetza.py hackme.apk 10.42.0.118 4444 yes

brompwnie commented 7 years ago

Hi there, Does this error occur on other target APK's? It appears this may happen due to bSoup not liking the decoded manifest. It may be specific to the APK or an issue with the bSoup instance on the host machine.