Linux premium155.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
: 162.0.235.200 | : 3.141.38.5
Cant Read [ /etc/named.conf ]
7.4.33
varifktc
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
/
opt /
alt /
ruby18 /
lib64 /
ruby /
site_ruby /
1.8 /
rubygems /
[ HOME SHELL ]
Name
Size
Permission
Action
commands
[ DIR ]
drwxr-xr-x
ext
[ DIR ]
drwxr-xr-x
package
[ DIR ]
drwxr-xr-x
ssl_certs
[ DIR ]
drwxr-xr-x
builder.rb
2.21
KB
-rw-r--r--
command.rb
12.46
KB
-rw-r--r--
command_manager.rb
4.67
KB
-rw-r--r--
config_file.rb
9.69
KB
-rw-r--r--
custom_require.rb
1.83
KB
-rw-r--r--
defaults.rb
2.65
KB
-rw-r--r--
dependency.rb
6.43
KB
-rw-r--r--
dependency_installer.rb
9.94
KB
-rw-r--r--
dependency_list.rb
5.58
KB
-rw-r--r--
deprecate.rb
1.81
KB
-rw-r--r--
doc_manager.rb
5.55
KB
-rw-r--r--
errors.rb
793
B
-rw-r--r--
exceptions.rb
2.34
KB
-rw-r--r--
ext.rb
379
B
-rw-r--r--
format.rb
1.96
KB
-rw-r--r--
gem_openssl.rb
2.24
KB
-rw-r--r--
gem_path_searcher.rb
4.57
KB
-rw-r--r--
gem_runner.rb
2.38
KB
-rw-r--r--
gemcutter_utilities.rb
1.86
KB
-rw-r--r--
indexer.rb
16.93
KB
-rw-r--r--
install_update_options.rb
3.87
KB
-rw-r--r--
installer.rb
17.02
KB
-rw-r--r--
installer_test_case.rb
3.1
KB
-rw-r--r--
local_remote_options.rb
3.36
KB
-rw-r--r--
mock_gem_ui.rb
1.05
KB
-rw-r--r--
old_format.rb
3.69
KB
-rw-r--r--
package.rb
2.15
KB
-rw-r--r--
package_task.rb
3.79
KB
-rw-r--r--
path_support.rb
1.5
KB
-rw-r--r--
platform.rb
5.55
KB
-rw-r--r--
psych_additions.rb
249
B
-rw-r--r--
psych_tree.rb
687
B
-rw-r--r--
remote_fetcher.rb
13.78
KB
-rw-r--r--
require_paths_builder.rb
577
B
-rw-r--r--
requirement.rb
5.01
KB
-rw-r--r--
security.rb
28.83
KB
-rw-r--r--
server.rb
21.93
KB
-rw-r--r--
source_index.rb
11
KB
-rw-r--r--
spec_fetcher.rb
7.17
KB
-rw-r--r--
specification.rb
54.83
KB
-rw-r--r--
syck_hack.rb
2.02
KB
-rw-r--r--
test_case.rb
23.22
KB
-rw-r--r--
test_utilities.rb
3.47
KB
-rw-r--r--
text.rb
1.23
KB
-rw-r--r--
uninstaller.rb
6.77
KB
-rw-r--r--
user_interaction.rb
11.22
KB
-rw-r--r--
validator.rb
4.65
KB
-rw-r--r--
version.rb
10.19
KB
-rw-r--r--
version_option.rb
1.59
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_utilities.rb
require 'tempfile' require 'rubygems' require 'rubygems/remote_fetcher' ## # A fake Gem::RemoteFetcher for use in tests or to avoid real live HTTP # requests when testing code that uses RubyGems. # # Example: # # @fetcher = Gem::FakeFetcher.new # @fetcher.data['http://gems.example.com/yaml'] = source_index.to_yaml # Gem::RemoteFetcher.fetcher = @fetcher # # # invoke RubyGems code # # paths = @fetcher.paths # assert_equal 'http://gems.example.com/yaml', paths.shift # assert paths.empty?, paths.join(', ') # # See RubyGems' tests for more examples of FakeFetcher. class Gem::FakeFetcher attr_reader :data attr_reader :last_request attr_accessor :paths def initialize @data = {} @paths = [] end def find_data(path) path = path.to_s @paths << path raise ArgumentError, 'need full URI' unless path =~ %r'^https?://' unless @data.key? path then raise Gem::RemoteFetcher::FetchError.new("no data for #{path}", path) end @data[path] end def fetch_path path, mtime = nil data = find_data(path) if data.respond_to?(:call) then data.call else if path.to_s =~ /gz$/ and not data.nil? and not data.empty? then data = Gem.gunzip data end data end end # Thanks, FakeWeb! def open_uri_or_path(path) data = find_data(path) body, code, msg = data response = Net::HTTPResponse.send(:response_class, code.to_s).new("1.0", code.to_s, msg) response.instance_variable_set(:@body, body) response.instance_variable_set(:@read, true) response end def request(uri, request_class, last_modified = nil) data = find_data(uri) body, code, msg = data @last_request = request_class.new uri.request_uri yield @last_request if block_given? response = Net::HTTPResponse.send(:response_class, code.to_s).new("1.0", code.to_s, msg) response.instance_variable_set(:@body, body) response.instance_variable_set(:@read, true) response end def fetch_size(path) path = path.to_s @paths << path raise ArgumentError, 'need full URI' unless path =~ %r'^http://' unless @data.key? path then raise Gem::RemoteFetcher::FetchError.new("no data for #{path}", path) end data = @data[path] data.respond_to?(:call) ? data.call : data.length end def download spec, source_uri, install_dir = Gem.dir name = File.basename spec.cache_file path = File.join install_dir, "cache", name Gem.ensure_gem_subdirectories install_dir if source_uri =~ /^http/ then File.open(path, "wb") do |f| f.write fetch_path(File.join(source_uri, "gems", name)) end else FileUtils.cp source_uri, path end path end def download_to_cache dependency found = Gem::SpecFetcher.fetcher.fetch dependency, true, true, dependency.prerelease? return if found.empty? spec, source_uri = found.first download spec, source_uri end end # :stopdoc: class Gem::RemoteFetcher def self.fetcher=(fetcher) @fetcher = fetcher end end # :startdoc: ## # A StringIO duck-typed class that uses Tempfile instead of String as the # backing store. # # This is available when rubygems/test_utilities is required. #-- # This class was added to flush out problems in Rubinius' IO implementation. class TempIO < Tempfile def initialize(string = '') super "TempIO" binmode write string rewind end def string flush Gem.read_binary path end end
Close