rex-core 0.1.29 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/verify.yml +12 -6
- data/lib/rex/compat.rb +5 -2
- data/lib/rex/core/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e0ea61587118ecd16dfa99cd6f135099fb11847360700de1820968c1d675079
|
4
|
+
data.tar.gz: b110df967b5f9cd38ab3241b8cf8f2fc2d09fe7fa85d1a4989f7b07c65a5fcb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98593ce7a951c4ecad04e5db2d558fc83e6659504e1fb71bac45390213038def2f989f5835f5db10a1a0efd196c9478225cc13916a27c2bc16b666d6c4af89a3
|
7
|
+
data.tar.gz: 57f91c129ac52a5a9a93b6b8f51d970040de8e06097e4e7d6b3c0854fab46e825019d34023a72f0d650fff82eb863a0f77486a6447fe8da4948707f3bd00b9cd
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -10,24 +10,30 @@ on:
|
|
10
10
|
|
11
11
|
jobs:
|
12
12
|
test:
|
13
|
-
runs-on:
|
13
|
+
runs-on: ${{ matrix.os }}
|
14
14
|
timeout-minutes: 40
|
15
15
|
|
16
16
|
strategy:
|
17
17
|
fail-fast: true
|
18
18
|
matrix:
|
19
19
|
ruby:
|
20
|
-
- 2.
|
21
|
-
-
|
22
|
-
- 3.
|
23
|
-
- 3.
|
20
|
+
- '2.7'
|
21
|
+
- '3.0'
|
22
|
+
- '3.1'
|
23
|
+
- '3.2'
|
24
|
+
os:
|
25
|
+
- ubuntu-20.04
|
26
|
+
- ubuntu-latest
|
27
|
+
exclude:
|
28
|
+
- { os: ubuntu-latest, ruby: '2.7' }
|
29
|
+
- { os: ubuntu-latest, ruby: '3.0' }
|
24
30
|
test_cmd:
|
25
31
|
- bundle exec rspec
|
26
32
|
|
27
33
|
env:
|
28
34
|
RAILS_ENV: test
|
29
35
|
|
30
|
-
name: Ruby ${{ matrix.ruby }} - ${{ matrix.test_cmd }}
|
36
|
+
name: ${{ matrix.os }} - Ruby ${{ matrix.ruby }} - ${{ matrix.test_cmd }}
|
31
37
|
steps:
|
32
38
|
- name: Checkout code
|
33
39
|
uses: actions/checkout@v2
|
data/lib/rex/compat.rb
CHANGED
@@ -138,7 +138,9 @@ def self.open_browser(url='http://google.com/')
|
|
138
138
|
else
|
139
139
|
# Search through the PATH variable (if it exists) and chose a browser
|
140
140
|
# We are making an assumption about the nature of "PATH" so tread lightly
|
141
|
-
|
141
|
+
#
|
142
|
+
# If DISPLAY is not set, most unix graphical tools will not work.
|
143
|
+
if ENV['PATH'] && ENV['DISPLAY']
|
142
144
|
# "xdg-open" is more general than "sensible-browser" and can be useful for lots of
|
143
145
|
# file types -- text files, pcaps, or URLs. It's nearly always
|
144
146
|
# going to use the application the user is expecting. If we're not
|
@@ -194,7 +196,8 @@ def self.open_webrtc_browser(url='http://google.com/')
|
|
194
196
|
url = "file://#{url}" if url.to_s.start_with?('/')
|
195
197
|
system("am start --user 0 -a android.intent.action.VIEW -d #{url}")
|
196
198
|
else
|
197
|
-
|
199
|
+
# If DISPLAY is not set, most unix graphical tools will not work.
|
200
|
+
if ENV['PATH'] && ENV['DISPLAY']
|
198
201
|
['google-chrome', 'chrome', 'chromium', 'firefox' , 'firefox', 'opera'].each do |browser|
|
199
202
|
ENV['PATH'].split(':').each do |path|
|
200
203
|
browser_path = "#{path}/#{browser}"
|
data/lib/rex/core/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Metasploit Hackers
|
@@ -93,7 +93,7 @@ cert_chain:
|
|
93
93
|
EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
|
94
94
|
9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
|
95
95
|
-----END CERTIFICATE-----
|
96
|
-
date: 2023-
|
96
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
97
97
|
dependencies:
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: rake
|
metadata.gz.sig
CHANGED
Binary file
|