Merge pull request #302 from VakarisZ/ssh_exploiter_smallfix
SSH exploiter handles exception better
This commit is contained in:
commit
e62af80b20
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue