Giter Club home page Giter Club logo

Comments (7)

Graph-X avatar Graph-X commented on July 16, 2024

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.

from changeme.

mikehacksthings avatar mikehacksthings commented on July 16, 2024

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:
$ ./changeme.py --debug --verbose --protocols ssh ip

from changeme.

ztgrace avatar ztgrace commented on July 16, 2024

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.

from changeme.

Graph-X avatar Graph-X commented on July 16, 2024

I'm the only one that couldn't replicate? Wow, that's counter to normal process. I'm usually the one doing it wrong.

from changeme.

ztgrace avatar ztgrace commented on July 16, 2024

The issue is that in the current paramiko connect statement, it uses self.target which calls the Target.__str__ method that includes the protocol and passes something like ssh://192.168.1.1 to paramiko which blows up. So the fix is to call self.target.host to get back the direct host/ip without the protocol.

from changeme.

ztgrace avatar ztgrace commented on July 16, 2024

@mikehacksthings ssh & ssh_key scanners should be fixed

from changeme.

mikehacksthings avatar mikehacksthings commented on July 16, 2024

Confirmed that the recent pull fixes this issue. Thanks!

from changeme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.