Merge pull request #302 from VakarisZ/ssh_exploiter_smallfix

SSH exploiter handles exception better
This commit is contained in:
Daniel Goldberg 2019-04-16 15:03:01 +03:00 committed by GitHub
commit e62af80b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)