rex-core 0.1.31 → 0.1.32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e0ea61587118ecd16dfa99cd6f135099fb11847360700de1820968c1d675079
4
- data.tar.gz: b110df967b5f9cd38ab3241b8cf8f2fc2d09fe7fa85d1a4989f7b07c65a5fcb4
3
+ metadata.gz: d9ce8a1be316a5d405d4077cc19268e809b9d81cf9a5ad501abbb931dcf3713b
4
+ data.tar.gz: 727eb86b2a9b161d5cf56e9899c213af1d7b6dd940ead8e7fcb081a3ce0a2c68
5
5
  SHA512:
6
- metadata.gz: 98593ce7a951c4ecad04e5db2d558fc83e6659504e1fb71bac45390213038def2f989f5835f5db10a1a0efd196c9478225cc13916a27c2bc16b666d6c4af89a3
7
- data.tar.gz: 57f91c129ac52a5a9a93b6b8f51d970040de8e06097e4e7d6b3c0854fab46e825019d34023a72f0d650fff82eb863a0f77486a6447fe8da4948707f3bd00b9cd
6
+ metadata.gz: 176c11e2832f16146d9a7162af1dfeb167155f6278498bb8d86bced6494c39b07b5157cfda0437bd18a421dd9701e275e429d582c95abeb0f6588331482dabe1
7
+ data.tar.gz: c7bef60a1a350f99987e4648f5035ce9724baea2398c733afe1d70743fa682617712fa17541d3fa7825cf14a46da05649684e2920ff25043077b1eac30ef17b2
checksums.yaml.gz.sig CHANGED
Binary file
@@ -36,7 +36,7 @@ jobs:
36
36
  name: ${{ matrix.os }} - Ruby ${{ matrix.ruby }} - ${{ matrix.test_cmd }}
37
37
  steps:
38
38
  - name: Checkout code
39
- uses: actions/checkout@v2
39
+ uses: actions/checkout@v4
40
40
 
41
41
  - name: Setup Ruby
42
42
  uses: ruby/setup-ruby@v1
data/cortex.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ info:
3
+ title: Rex Core
4
+ description: Created by David Maloney via the GitHub Connector
5
+ x-cortex-git:
6
+ github:
7
+ alias: r7org
8
+ repository: rapid7/rex-core
9
+ x-cortex-tag: rex-core
10
+ x-cortex-type: service
11
+ x-cortex-domain-parents:
12
+ - tag: metasploit
13
+ openapi: 3.0.1
14
+ servers:
15
+ - url: "/"
data/lib/rex/compat.rb CHANGED
@@ -35,10 +35,10 @@ ENABLE_PROCESSED_INPUT = 1
35
35
  @@loaded_tempfile = false
36
36
  @@loaded_fileutils = false
37
37
 
38
-
39
38
  def self.is_windows
40
39
  return @@is_windows if @@is_windows
41
- @@is_windows = (RUBY_PLATFORM =~ /mswin(32|64)|mingw(32|64)/) ? true : false
40
+ # Additionally detect x64-mingw-ucrt - https://rubyinstaller.org/2022/11/27/rubyinstaller-3.1.3-1-3.0.5-1-and-2.7.7-1-released.html
41
+ @@is_windows = (RUBY_PLATFORM =~ /mswin(32|64)|mingw(32|64|\-ucrt)/) ? true : false
42
42
  end
43
43
 
44
44
  def self.is_cygwin
@@ -198,7 +198,7 @@ def self.open_webrtc_browser(url='http://google.com/')
198
198
  else
199
199
  # If DISPLAY is not set, most unix graphical tools will not work.
200
200
  if ENV['PATH'] && ENV['DISPLAY']
201
- ['google-chrome', 'chrome', 'chromium', 'firefox' , 'firefox', 'opera'].each do |browser|
201
+ [ENV['MSF_BROWSER_BIN'], 'google-chrome', 'chrome', 'chromium', 'firefox', 'opera'].compact.each do |browser|
202
202
  ENV['PATH'].split(':').each do |path|
203
203
  browser_path = "#{path}/#{browser}"
204
204
  if File.exist?(browser_path)
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Core
3
- VERSION = "0.1.31"
3
+ VERSION = "0.1.32"
4
4
  end
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
@@ -10,90 +10,31 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
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ZXJ0U0hBMkFzc3Vy
88
- ZWRJRENvZGVTaWduaW5nQ0EuY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEL
89
- BQADggEBAN+GL5/myPWg7oH4mVrG7/OhXF1MoYQF0ddaNiqaweEHMuKJBQCVZRbL
90
- 37HojoKXXv2yyRJBCeTB+ojrxX+5PdLVZa0ss7toWzJ2A1poPXZ1eZvm5xeFD32z
91
- YQaTmmNWNI3PCDTyJ2PXUc+bDiNNwcZ7yc5o78UNRvp9Jxghya17Q76c9Ov9wvnv
92
- dxxQKWGOQy0m4fBrkyjAyH9Djjn81RbQrqYgPuhd5nD0HjN3VUQLhQbIJrk9TVs0
93
- EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
94
- 9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
95
- -----END CERTIFICATE-----
96
- date: 2023-05-02 00:00:00.000000000 Z
37
+ date: 2024-05-15 00:00:00.000000000 Z
97
38
  dependencies:
98
39
  - !ruby/object:Gem::Dependency
99
40
  name: rake
@@ -141,6 +82,7 @@ files:
141
82
  - LICENSE
142
83
  - README.md
143
84
  - Rakefile
85
+ - cortex.yaml
144
86
  - lib/rex/compat.rb
145
87
  - lib/rex/core.rb
146
88
  - lib/rex/core/version.rb
@@ -177,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
119
  - !ruby/object:Gem::Version
178
120
  version: '0'
179
121
  requirements: []
180
- rubygems_version: 3.1.4
122
+ rubygems_version: 3.4.18
181
123
  signing_key:
182
124
  specification_version: 4
183
125
  summary: Core libraries required for the Ruby Exploitation (Rex) Suite.
metadata.gz.sig CHANGED
Binary file