rex-core 0.1.26 → 0.1.27

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: b8ac9ac5c78f2af305446d6b5deeb2fdec947b00912eddd5c67d078c90c81ac4
4
- data.tar.gz: a01aa99645e7230085e2889cc2527d870db46666542771b3b0d5c91c92f93d11
3
+ metadata.gz: 2aa029e6b51914e6b125525408d3b691ba3b3f3d714a95cc3b5a7759eddda95d
4
+ data.tar.gz: 7895ffdabf047757db4a42af53cb3d97888bc3756963217a267ad513679a078d
5
5
  SHA512:
6
- metadata.gz: 3d4976c2e3bc4066992ba28261c7e4ea6bb7751b083700c4f6ac50238fcb5703e972ce7dc2071b41916f50da9e96d6b0e1b7bb4c4bcdcf22a98dde7f98931402
7
- data.tar.gz: d718c23b2fa94b3d525f94f205a50b132084f1f237cf2ce10dd81cc50fd51bbf44bdcee28d3008ee424d283db8d79c642beb7f6b8003e3c2ed2ebf33e1c47181
6
+ metadata.gz: 498bba8dce9ef27f6314affa367949c9a011428e9dabb06ef3a0f56d7a1c00f12321ef31e49b5a9442eed5a39ae3f30fcfecbc1b4c5adf57a3856d4fb3c9dcd4
7
+ data.tar.gz: bde42deb8d8798570dd5ac6504242194dc0857e88a18c14ccaf50a79ad6f9722f4b3f31dcbd1e75e2bcafcebd17ef159c171121445f4698c9c9a9f2415080574
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rex/compat.rb CHANGED
@@ -133,6 +133,7 @@ def self.open_browser(url='http://google.com/')
133
133
  when /darwin/
134
134
  system("open #{url}")
135
135
  when /android/
136
+ url = "file://#{url}" if url.to_s.start_with?('/')
136
137
  system("am start --user 0 -a android.intent.action.VIEW -d #{url}")
137
138
  else
138
139
  # Search through the PATH variable (if it exists) and chose a browser
@@ -190,6 +191,7 @@ def self.open_webrtc_browser(url='http://google.com/')
190
191
  end
191
192
  end
192
193
  when /android/
194
+ url = "file://#{url}" if url.to_s.start_with?('/')
193
195
  system("am start --user 0 -a android.intent.action.VIEW -d #{url}")
194
196
  else
195
197
  if defined? ENV['PATH']
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Core
3
- VERSION = "0.1.26"
3
+ VERSION = "0.1.27"
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.26
4
+ version: 0.1.27
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: 2022-02-15 00:00:00.000000000 Z
96
+ date: 2022-03-24 00:00:00.000000000 Z
97
97
  dependencies:
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- u�����~��O�,�w�#�k۠P
1
+ �b�C?���`�
2
+ ����u��.%��B=%�Xu_��A��7!���T{[��B��+id����� 堹�mĥ/��ۭZ�2�s����1}