Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.129.89.50
Cant Read [ /etc/named.conf ]
8.1.13
www
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
2.7.0 /
rubygems /
commands /
[ HOME SHELL ]
Name
Size
Permission
Action
build_command.rb
2.64
KB
-rw-r--r--
cert_command.rb
9.02
KB
-rw-r--r--
check_command.rb
2.23
KB
-rw-r--r--
cleanup_command.rb
4.49
KB
-rw-r--r--
contents_command.rb
4.05
KB
-rw-r--r--
dependency_command.rb
5.14
KB
-rw-r--r--
environment_command.rb
5.04
KB
-rw-r--r--
fetch_command.rb
1.77
KB
-rw-r--r--
generate_index_command.rb
2.91
KB
-rw-r--r--
help_command.rb
10.14
KB
-rw-r--r--
info_command.rb
715
B
-rw-r--r--
install_command.rb
7.42
KB
-rw-r--r--
list_command.rb
939
B
-rw-r--r--
lock_command.rb
2.69
KB
-rw-r--r--
mirror_command.rb
625
B
-rw-r--r--
open_command.rb
1.96
KB
-rw-r--r--
outdated_command.rb
853
B
-rw-r--r--
owner_command.rb
2.72
KB
-rw-r--r--
pristine_command.rb
5.38
KB
-rw-r--r--
push_command.rb
3.61
KB
-rw-r--r--
query_command.rb
9.33
KB
-rw-r--r--
rdoc_command.rb
2.47
KB
-rw-r--r--
search_command.rb
884
B
-rw-r--r--
server_command.rb
2.38
KB
-rw-r--r--
setup_command.rb
18.16
KB
-rw-r--r--
signin_command.rb
891
B
-rw-r--r--
signout_command.rb
896
B
-rw-r--r--
sources_command.rb
5.5
KB
-rw-r--r--
specification_command.rb
3.27
KB
-rw-r--r--
stale_command.rb
964
B
-rw-r--r--
uninstall_command.rb
5.64
KB
-rw-r--r--
unpack_command.rb
4.44
KB
-rw-r--r--
update_command.rb
7.06
KB
-rw-r--r--
which_command.rb
2.09
KB
-rw-r--r--
yank_command.rb
2.42
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dependency_command.rb
# frozen_string_literal: true require 'rubygems/command' require 'rubygems/local_remote_options' require 'rubygems/version_option' class Gem::Commands::DependencyCommand < Gem::Command include Gem::LocalRemoteOptions include Gem::VersionOption def initialize super 'dependency', 'Show the dependencies of an installed gem', :version => Gem::Requirement.default, :domain => :local add_version_option add_platform_option add_prerelease_option add_option('-R', '--[no-]reverse-dependencies', 'Include reverse dependencies in the output') do |value, options| options[:reverse_dependencies] = value end add_option('-p', '--pipe', "Pipe Format (name --version ver)") do |value, options| options[:pipe_format] = value end add_local_remote_options end def arguments # :nodoc: "REGEXP show dependencies for gems whose names start with REGEXP" end def defaults_str # :nodoc: "--local --version '#{Gem::Requirement.default}' --no-reverse-dependencies" end def description # :nodoc: <<-EOF The dependency commands lists which other gems a given gem depends on. For local gems only the reverse dependencies can be shown (which gems depend on the named gem). The dependency list can be displayed in a format suitable for piping for use with other commands. EOF end def usage # :nodoc: "#{program_name} REGEXP" end def fetch_remote_specs(dependency) # :nodoc: fetcher = Gem::SpecFetcher.fetcher ss, = fetcher.spec_for_dependency dependency ss.map { |spec, _| spec } end def fetch_specs(name_pattern, dependency) # :nodoc: specs = [] if local? specs.concat Gem::Specification.stubs.find_all { |spec| name_pattern =~ spec.name and dependency.requirement.satisfied_by? spec.version }.map(&:to_spec) end specs.concat fetch_remote_specs dependency if remote? ensure_specs specs specs.uniq.sort end def gem_dependency(pattern, version, prerelease) # :nodoc: dependency = Gem::Deprecate.skip_during do Gem::Dependency.new pattern, version end dependency.prerelease = prerelease dependency end def display_pipe(specs) # :nodoc: specs.each do |spec| unless spec.dependencies.empty? spec.dependencies.sort_by { |dep| dep.name }.each do |dep| say "#{dep.name} --version '#{dep.requirement}'" end end end end def display_readable(specs, reverse) # :nodoc: response = String.new specs.each do |spec| response << print_dependencies(spec) unless reverse[spec.full_name].empty? response << " Used by\n" reverse[spec.full_name].each do |sp, dep| response << " #{sp} (#{dep})\n" end end response << "\n" end say response end def execute ensure_local_only_reverse_dependencies pattern = name_pattern options[:args] dependency = gem_dependency pattern, options[:version], options[:prerelease] specs = fetch_specs pattern, dependency reverse = reverse_dependencies specs if options[:pipe_format] display_pipe specs else display_readable specs, reverse end end def ensure_local_only_reverse_dependencies # :nodoc: if options[:reverse_dependencies] and remote? and not local? alert_error 'Only reverse dependencies for local gems are supported.' terminate_interaction 1 end end def ensure_specs(specs) # :nodoc: return unless specs.empty? patterns = options[:args].join ',' say "No gems found matching #{patterns} (#{options[:version]})" if Gem.configuration.verbose terminate_interaction 1 end def print_dependencies(spec, level = 0) # :nodoc: response = String.new response << ' ' * level + "Gem #{spec.full_name}\n" unless spec.dependencies.empty? spec.dependencies.sort_by { |dep| dep.name }.each do |dep| response << ' ' * level + " #{dep}\n" end end response end def remote_specs(dependency) # :nodoc: fetcher = Gem::SpecFetcher.fetcher ss, _ = fetcher.spec_for_dependency dependency ss.map { |s,o| s } end def reverse_dependencies(specs) # :nodoc: reverse = Hash.new { |h, k| h[k] = [] } return reverse unless options[:reverse_dependencies] specs.each do |spec| reverse[spec.full_name] = find_reverse_dependencies spec end reverse end ## # Returns an Array of [specification, dep] that are satisfied by +spec+. def find_reverse_dependencies(spec) # :nodoc: result = [] Gem::Specification.each do |sp| sp.dependencies.each do |dep| dep = Gem::Dependency.new(*dep) unless Gem::Dependency === dep if spec.name == dep.name and dep.requirement.satisfied_by?(spec.version) result << [sp.full_name, dep] end end end result end private def name_pattern(args) args << '' if args.empty? if args.length == 1 and args.first =~ /\A(.*)(i)?\z/m flags = $2 ? Regexp::IGNORECASE : nil Regexp.new $1, flags else /\A#{Regexp.union(*args)}/ end end end
Close