Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
net /
ssh /
multi /
[ HOME SHELL ]
Name
Size
Permission
Action
channel.rb
7.93
KB
-rw-r--r--
channel_proxy.rb
2.01
KB
-rw-r--r--
dynamic_server.rb
2.59
KB
-rw-r--r--
pending_connection.rb
3.66
KB
-rw-r--r--
server.rb
8.45
KB
-rw-r--r--
server_list.rb
2.52
KB
-rw-r--r--
session.rb
21.49
KB
-rw-r--r--
session_actions.rb
5.87
KB
-rw-r--r--
subsession.rb
1.38
KB
-rw-r--r--
version.rb
547
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : subsession.rb
require 'net/ssh/multi/session_actions' module Net; module SSH; module Multi # A trivial class for representing a subset of servers. It is used # internally for restricting operations to a subset of all defined # servers. # # subsession = session.with(:app) # subsession.exec("hostname") class Subsession include SessionActions # The master session that spawned this subsession. attr_reader :master # The list of servers that this subsession can operate on. attr_reader :servers # Create a new subsession of the given +master+ session, that operates # on the given +server_list+. def initialize(master, server_list) @master = master @servers = server_list.uniq end # Works as Array#slice, but returns a new subsession consisting of the # given slice of servers in this subsession. The new subsession will have # the same #master session as this subsession does. # # s1 = subsession.slice(0) # s2 = subsession.slice(3, -1) # s3 = subsession.slice(1..4) def slice(*args) Subsession.new(master, Array(servers.slice(*args))) end # Returns a new subsession that consists of only the first server in the # server list of the current subsession. This is just convenience for # #slice(0): # # s1 = subsession.first def first slice(0) end end end; end; end
Close