[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.217.154: ~ $
# frozen_string_literal: true
##
# The primary source of gems is a file on disk, including all usages
# internal to rubygems.
#
# This is a private class, do not depend on it directly. Instead, pass a path
# object to `Gem::Package.new`.

class Gem::Package::FileSource < Gem::Package::Source # :nodoc: all
  attr_reader :path

  def initialize(path)
    @path = path
  end

  def start
    @start ||= File.read path, 20
  end

  def present?
    File.exist? path
  end

  def with_write_io(&block)
    File.open path, 'wb', &block
  end

  def with_read_io(&block)
    File.open path, 'rb', &block
  end
end

Filemanager

Name Type Size Permission Actions
tar_reader Folder 0755
digest_io.rb File 1.33 KB 0644
file_source.rb File 609 B 0644
io_source.rb File 813 B 0644
old.rb File 3.63 KB 0644
source.rb File 71 B 0644
tar_header.rb File 5.9 KB 0644
tar_reader.rb File 2.35 KB 0644
tar_writer.rb File 7.51 KB 0644