Giter Site home page Giter Site logo

climber's People

Contributors

gustavohenrique avatar raffaele-forte avatar vmalguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

climber's Issues

[Errno 2] No such file or directory: '/plugins'

  1. After installing all dependencies
  2. Run python climber.py --host host_ip --username username --ssh
  3. Enter password
  4. Error :(
[i] Using driver: shell
[!] [Errno 2] No such file or directory: '/plugins'
$ tree plugins -L 1
plugins
├── file_systems
├── networking
├── operating_system
├── ssh
├── users
└── website

6 directories, 0 files

error

output file problem

Hi,
there is a issue on save_logs function.
The problem is that the script prints also the next shell prompt (i.e. tmap@tmapThinkPad:~$ )

I solved the problem replacing the function like that (convert into list, split it, and remove the last element of the list, in this case the prompt):

def save_logs(text, path, filename):
    # Make directories
    logs = os.path.expanduser(path)
    if not os.path.exists(logs):
        os.makedirs(logs)
    # Write mode creates a new file or overwrites the existing content of the file.
    try:
        f = open(logs + '/' + filename, 'w')
        try:
            # Write a sequence of strings to a file
            splitted_text=text.split('\n')
            f.writelines([item for item in splitted_text[:-1]])

        finally:
            f.close()
    except Exception, error:
        sys.exit(ERROR + '\n[!] ' + str(error) + '\n' + ENDC)

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.