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 /
multi_json /
[ HOME SHELL ]
Name
Size
Permission
Action
adapters
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
adapter.rb
1.21
KB
-rw-r--r--
adapter_error.rb
417
B
-rw-r--r--
convertible_hash_keys.rb
992
B
-rw-r--r--
options.rb
876
B
-rw-r--r--
options_cache.rb
761
B
-rw-r--r--
parse_error.rb
431
B
-rw-r--r--
version.rb
429
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : options_cache.rb
module MultiJson module OptionsCache extend self def reset @dump_cache = {} @load_cache = {} end def fetch(type, key, &block) cache = instance_variable_get("@#{type}_cache") cache.key?(key) ? cache[key] : write(cache, key, &block) end private # Normally MultiJson is used with a few option sets for both dump/load # methods. When options are generated dynamically though, every call would # cause a cache miss and the cache would grow indefinitely. To prevent # this, we just reset the cache every time the number of keys outgrows # 1000. MAX_CACHE_SIZE = 1000 def write(cache, key) cache.clear if cache.length >= MAX_CACHE_SIZE cache[key] = yield end end end
Close