SSH exploiter handles exception better

This commit is contained in:
VakarisZ 2019-04-16 14:16:41 +03:00
parent 1a36e5e29b
commit 3c5625404c
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class SSHExploiter(HostExploiter):
self.report_login_attempt(True, user, curpass)
break
except Exception as exc:
except paramiko.AuthenticationException as exc:
LOG.debug("Error logging into victim %r with user"
" %s and password '%s': (%s)", self.host,
user, curpass, exc)