-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH Scanner Bug #39
Comments
What are the command line options you are using? I'm trying to replicate this issue and the stupid won't error out for me. |
I set up a target to test this out which was a raspberry pi running with default credentials. The command line options I used to test it were: |
I've been able to replicate this, and should have fixes pushed soon. I'm working to get some additional unit tests in place so similar regressions don't happen in the future. |
I'm the only one that couldn't replicate? Wow, that's counter to normal process. I'm usually the one doing it wrong. |
The issue is that in the current paramiko connect statement, it uses |
@mikehacksthings ssh & ssh_key scanners should be fixed |
Confirmed that the recent pull fixes this issue. Thanks! |
There's an issue with the SSH credential scanner where it passes an invalid target to the connection. This raises gaierror Exception: [Errno -2] Name or service not known.
This appears to be due to the fact that self.target in ssh.py contains the protocol and the port ssh://:22 when being passed as hostname to the paramiko connect() function in ssh.py.
The text was updated successfully, but these errors were encountered: