Git Product home page Git Product logo

multissh's Introduction

#MultiSSH# ##Author:## @mastahyeti ##Description:## this is a tool for running multiple SSH connections at the same time. This application works best if run as root. It also works best if you have scapy installed. That beings said, it can work without either of those requirements. ##Dependencies##

Required:

  • python2.7 -- Weird bugs in 2.6. Haven't tried 3.0
  • paramiko -- SSH Library in pure python

Optional:

  • scapy -- Packet crafting. allows me to syn scan hosts before trying to connect (make sure they're live...)

##Usage:## To start MultiSSH, type: sudo python ./multissh.py

Once you have launched it, type help to see the available commands.

##Commands## Here are the contents of the help command:

Welcome to MultiSSH. Usage is pretty simple. You can set
parameters with the 'set' command, add values to parameter
lists with the 'add' command, inspect current settings
with the 'show' command. If you type an unrecognized command,
it will be assumed that you meant for that command to be run 
on all of the SSH sessions. If you configure the 'command_batch'
parameter you can run multiple commands at once and then
use the 'get' command to query their output by host
or by command.

 Here is a bit more info about each command.

quit    	
        exit MultiSSH
        
set		
        set a configuration parameter. 
        Eg.
            multi> set port=22
            multi> set command_batch=['ls','whoami','cat /etc/passwd']
        
run		
        run the batch of commands set in the command_batch configuration 
        parameter. You can then get the results with the get command
        Eg.
            multi> run
        
help		
        print this message
        
get		
        get the results of the last run command
        by host or by command (for command_batches)
        Eg.
            multi> get host 127.0.0.1               #returns results from 127.0.0.1
            multi> get host 127.0.0.1 example.com   #returns results from 127.0.0.1 and example.com
            multi> get command ls                   #returns results of command ls from all hosts (only works with command_batches)
        
show		
        show all or some of the config parameters
        Eg. (shows whole config)
            multi> show
            multi> show hosts
        
mandelbrot		
        pint a mandelbrot       
        
add		
        add a value to a configuration option.
        Eg.
            multi> add host 127.0.0.1
            multi> add usernames root mastahyeti
        
delete		
        delete one or several configuration parameters
        Eg.
            multi> delete username root
            multi> delete hosts localhost 127.0.0.1 example.com 

##Issues:## Hit me up on github if there are any issues. Also feel free to submit issues. I Probably wont respond to either....

multissh's People

Contributors

btoews avatar

Watchers

 avatar

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.