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.146.152.119
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 /
ruby30 /
share /
rubygems /
rubygems /
resolver /
[ HOME SHELL ]
Name
Size
Permission
Action
api_set
[ DIR ]
drwxr-xr-x
molinillo
[ DIR ]
drwxr-xr-x
activation_request.rb
2.9
KB
-rw-r--r--
api_set.rb
2.84
KB
-rw-r--r--
api_specification.rb
2.74
KB
-rw-r--r--
best_set.rb
1.62
KB
-rw-r--r--
composed_set.rb
1.18
KB
-rw-r--r--
conflict.rb
3.25
KB
-rw-r--r--
current_set.rb
280
B
-rw-r--r--
dependency_request.rb
2.25
KB
-rw-r--r--
git_set.rb
2.88
KB
-rw-r--r--
git_specification.rb
1.27
KB
-rw-r--r--
index_set.rb
1.41
KB
-rw-r--r--
index_specification.rb
2.29
KB
-rw-r--r--
installed_specification.rb
1.21
KB
-rw-r--r--
installer_set.rb
6.47
KB
-rw-r--r--
local_specification.rb
805
B
-rw-r--r--
lock_set.rb
1.67
KB
-rw-r--r--
lock_specification.rb
1.81
KB
-rw-r--r--
molinillo.rb
73
B
-rw-r--r--
requirement_list.rb
1.33
KB
-rw-r--r--
set.rb
1.22
KB
-rw-r--r--
source_set.rb
900
B
-rw-r--r--
spec_specification.rb
1.33
KB
-rw-r--r--
specification.rb
2.66
KB
-rw-r--r--
stats.rb
957
B
-rw-r--r--
vendor_set.rb
1.91
KB
-rw-r--r--
vendor_specification.rb
579
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : api_set.rb
# frozen_string_literal: true ## # The global rubygems pool, available via the rubygems.org API. # Returns instances of APISpecification. class Gem::Resolver::APISet < Gem::Resolver::Set autoload :GemParser, File.expand_path("api_set/gem_parser", __dir__) ## # The URI for the dependency API this APISet uses. attr_reader :dep_uri # :nodoc: ## # The Gem::Source that gems are fetched from attr_reader :source ## # The corresponding place to fetch gems. attr_reader :uri ## # Creates a new APISet that will retrieve gems from +uri+ using the RubyGems # API URL +dep_uri+ which is described at # https://guides.rubygems.org/rubygems-org-api def initialize(dep_uri = 'https://index.rubygems.org/info/') super() dep_uri = URI dep_uri unless URI === dep_uri @dep_uri = dep_uri @uri = dep_uri + '..' @data = Hash.new {|h,k| h[k] = [] } @source = Gem::Source.new @uri @to_fetch = [] end ## # Return an array of APISpecification objects matching # DependencyRequest +req+. def find_all(req) res = [] return res unless @remote if @to_fetch.include?(req.name) prefetch_now end versions(req.name).each do |ver| if req.dependency.match? req.name, ver[:number], @prerelease res << Gem::Resolver::APISpecification.new(self, ver) end end res end ## # A hint run by the resolver to allow the Set to fetch # data for DependencyRequests +reqs+. def prefetch(reqs) return unless @remote names = reqs.map {|r| r.dependency.name } needed = names - @data.keys - @to_fetch @to_fetch += needed end def prefetch_now # :nodoc: needed, @to_fetch = @to_fetch, [] needed.sort.each do |name| versions(name) end end def pretty_print(q) # :nodoc: q.group 2, '[APISet', ']' do q.breakable q.text "URI: #{@dep_uri}" q.breakable q.text 'gem names:' q.pp @data.keys end end ## # Return data for all versions of the gem +name+. def versions(name) # :nodoc: if @data.key?(name) return @data[name] end uri = @dep_uri + name str = Gem::RemoteFetcher.fetcher.fetch_path uri lines(str).each do |ver| number, platform, dependencies, requirements = parse_gem(ver) platform ||= "ruby" dependencies = dependencies.map {|dep_name, reqs| [dep_name, reqs.join(", ")] } requirements = requirements.map {|req_name, reqs| [req_name.to_sym, reqs] }.to_h @data[name] << { name: name, number: number, platform: platform, dependencies: dependencies, requirements: requirements } end @data[name] end private def lines(str) lines = str.split("\n") header = lines.index("---") header ? lines[header + 1..-1] : lines end def parse_gem(string) @gem_parser ||= GemParser.new @gem_parser.parse(string) end end
Close