ustayready / CredSniper

CredSniper is a phishing framework written with the Python micro-framework Flask and Jinja2 templating which supports capturing 2FA tokens.
Apache License 2.0
1.31k stars 293 forks source link

BeautifulSoup Warning #16

Closed WhistleMaster closed 6 years ago

WhistleMaster commented 6 years ago

When running, the following warning pops out:

CredSniper/lib/python3.6/site-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 147 of the file credsniper.py. To get rid of this warning, change code that looks like this:

 BeautifulSoup(YOUR_MARKUP})

to this:

 BeautifulSoup(YOUR_MARKUP, "lxml")

  markup_type=markup_type))
nse-bse commented 6 years ago

Exact same error. Everything worked. I can able to login via phishing link. But can't see the credentials

Any solution?

DakotaNelson commented 6 years ago

This should only be a warning, and not actually harm anything.

ustayready commented 6 years ago

Definitely is a warning, I will see about adding lxml as a parser but if I remember correctly it was a part of mechnicalsoup so it might be an upstream fix. Closing this for now since it's not an actual bug.