Exploit databaseDownload repository ZIP
GH-08b4e46992fde5efb0a6e5e3983b5d84
jas502n/cve-2019-12384
Sources for CVE-2019-12384
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files79
jas502n/cve-2019-12384Revision 20605173b861
- ↑..Parent directory
- cli/
- compact_index_client/
- fetcher/
- installer/
- plugin/
- resolver/
- settings/
- source/
- ssl_certs/
- templates/
- ui/
- vendor/
- build_metadata.rb
- capistrano.rb
- cli.rb
- compact_index_client.rb
- compatibility_guard.rb
- constants.rb
- current_ruby.rb
- definition.rb
- dep_proxy.rb
- dependency.rb
- deployment.rb
- deprecate.rb
- dsl.rb
- endpoint_specification.rb
- env.rb
- environment_preserver.rb
- errors.rb
- feature_flag.rb
- fetcher.rb
- friendly_errors.rb
- gem_helper.rb
- gem_helpers.rb
- gem_remote_fetcher.rb
- gem_tasks.rb
- gem_version_promoter.rb
- gemdeps.rb
- graph.rb
- index.rb
- injector.rb
- inline.rb
- installer.rb
- lazy_specification.rb
- lockfile_generator.rb
- lockfile_parser.rb
- match_platform.rb
- mirror.rb
- plugin.rb
- process_lock.rb
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
jruby-9.2.7.0/lib/ruby/stdlib/bundler/build_metadata.rb
Ruby · 1,653 bytes# frozen_string_literal: true
module Bundler
# Represents metadata from when the Bundler gem was built.
module BuildMetadata
# begin ivars
@built_at = "2019-03-04".freeze
@git_commit_sha = "8a789f00b".freeze
@release = false
# end ivars
# A hash representation of the build metadata.
def self.to_h
{
"Built At" => built_at,
"Git SHA" => git_commit_sha,
"Released Version" => release?,
}
end
# A string representing the date the bundler gem was built.
def self.built_at
@built_at ||= Time.now.utc.strftime("%Y-%m-%d").freeze
end
# The SHA for the git commit the bundler gem was built from.
def self.git_commit_sha
return @git_commit_sha if @git_commit_sha
# If Bundler has been installed without its .git directory and without a
# commit instance variable then we can't determine its commits SHA.
git_dir = File.join(File.expand_path("../../..", __FILE__), ".git")
if File.directory?(git_dir)
return @git_commit_sha = Dir.chdir(git_dir) { `git rev-parse --short HEAD`.strip.freeze }
end
# If Bundler is a submodule in RubyGems, get the submodule commit
git_sub_dir = File.join(File.expand_path("../../../..", __FILE__), ".git")
if File.directory?(git_sub_dir)
return @git_commit_sha = Dir.chdir(git_sub_dir) do
`git ls-tree --abbrev=8 HEAD bundler`.split(/\s/).fetch(2, "").strip.freeze
end
end
@git_commit_sha ||= "unknown"
end
# Whether this is an official release build of Bundler.
def self.release?
@release
end
end
end