Botnet mode in Tortazo.

The botnet mode is specified with the option -z/–zombie and depends on the file. In this mode, Tortazo will read that file and then, tries to perform SSH Connections using the hosts and credentials defined in that file. Every line in “” have the next format:


The library “Fabric” is used to connect with the SSH servers and execute commands across a set of SSH Servers. When you specify the switch -z/–zombie option, Tortazo will not connect with the TOR authoritative directories, just will read the file and then will try to open a shell on the specified bot (-o/–open-shell switch) or runs a command (-r/–run-command switch). In this mode, you must specify the nicknames that will be excluded from the botnet (comma separated) or the keyword “all” to include all bots from file.

Botnet mode examples.

Using this mode is very simple, but the file located in <TORTAZO_DIR>/ must have a list of bots with the connection details of every bot for each line.

Execute commands across the entirely botnet Runs the commands: “id; uname -a; uptime”:

python -v -z all -r "id; uname -a; uptime; w"
python --verbose --threads 10 --zombie-mode all --run-command "id; uname -a; uptime; w"

Open a shell in the specified bot Using the shell identifier to open a new console in the specified host.:

python -v -z all -o
python --verbose --zombie-mode all --open-shell



Obviously, the credentials in the file should be valid for every host registered. If the credentials are not valid, “Fabric” will resolve the authentication method (password or public key) and will require that you enter the password or passphase.