fixed error when loading the css of some websites when using the bypass-hsts option, added some better error handling on plugins

This commit is contained in:
byt3bl33d3r 2014-11-23 13:38:30 +01:00
parent 1c3e0554fd
commit e2132a6ca9
6 changed files with 42 additions and 20 deletions

View file

@ -61,7 +61,7 @@ class BeefAutorun(Inject, Plugin):
already_hooked = []
while True:
sessions = beef.sessions_online()
if len(sessions) > 0:
if sessions is not None and len(sessions) > 0:
for session in sessions:
if session not in already_hooked: