Preamble Our code will use some object oriented concepts If you have not worked with classes and objects before I suggest looking at my intermediate python tutorials What is a SSH? An encrypted remote terminal connection Allows command line access to the device Most managed networks will use SSH for management of routers, switches and servers. SHH is simple yet complex, Some reading would be highly beneficial. How it works We use the python pexpect library with the pxssh module to connect to the ssh server. We then store that connection and leave it waiting for a command Then we send a command to all of the connections open in the botNet (Because the current version of pxssh.py is broken I have supplied a fixed version in the tutorial folder) Creating our program Make sure you have the pxssh.py file in the same folder as our botnet.py file We will create a client class which will hand each of our connection We will store each client in a list. Next SSH bruteforce