rex-core 0.1.9 → 0.1.14

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
- SHA1:
3
- metadata.gz: d89024219c44b8eee8150bcf3f16aff0bb3d78a0
4
- data.tar.gz: 22f25ad96acac17aa322c9083227111744095443
2
+ SHA256:
3
+ metadata.gz: 12eeafcdb4a07f89d5bab2bc024f330896c62ab9df2c45eadedeea0a85cfa7cb
4
+ data.tar.gz: de9d82d23705151fe95b40df2781522110e13d31c9dc9deff2093a8c8ec7c940
5
5
  SHA512:
6
- metadata.gz: 15a3c78213fd25242d2d13fc708f32747ca6c739be36e46e76835c625fbb15cec66b1ff8b35fc76c8dc492198fe5209ae08dea02eeee0a03939c13ee9d61a2ef
7
- data.tar.gz: 418dd00022445133e5fb0fb08b0d7fa009e284c8b3c795c18af031cc020b078936716e92a120577b5ac1aaf0aac67d8d46c03127d4f0e79140a48418419c18e2
6
+ metadata.gz: 5b0bcea0b20d319598931bc2a4e8111d940019f22995fe12b84a66856d7835318cfa8ce5ad4e330a4a2100408dfe4cfd615a9cfea552a4215fac1541fa2e4a9a
7
+ data.tar.gz: b605d32386312678d923c239a9a855c13b9a7137fa249a77ebd96e5a5ce5dc9d0a5c67b3b5280c708eceeb392e43ca937e28f950584d54bcd4af3b0522df0520
@@ -1,3 +1 @@
1
- g��M<�� }k�ε�qI)Iw\G����+�O��fx���.��^���U��ԟ�Ju�# dc=����.��J��uNOAp*�;���؇�����˜�Ppi��u�
2
- R |���d��k�m؂�@� �; ����?�좕@
3
- ��#�#c� ���0�.�ɁmY�P���f�GmD;R(T  ����1D�Q��Ò�gH-ٝ���\�wx���ݶ����M/ec?=hmk�m��S���6�G�H{
1
+ 8��5����8�P|�"��]3;�-Gs����~¤�'h�8�|���l��v��Gx������٨��[<�4L���5~�E�哙�[�����5��wK�j���F+#��DLxx��S�D ��(B����/��ELږ���,�sg�>:7��3e@��'�97��nN?&PA������lz���s#��� ���9I�-�������z����bX�<�%���{�����z�]��:��h��D�0#
data.tar.gz.sig CHANGED
Binary file
@@ -3,4 +3,4 @@ group: stable
3
3
  cache: bundler
4
4
  language: ruby
5
5
  rvm:
6
- - 2.3.3
6
+ - 2.7.2
@@ -30,7 +30,7 @@ ENABLE_PROCESSED_INPUT = 1
30
30
  # Platform detection
31
31
  #
32
32
 
33
- @@is_windows = @@is_cygwin = @@is_macosx = @@is_linux = @@is_bsdi = @@is_freebsd = @@is_netbsd = @@is_openbsd = @@is_java = false
33
+ @@is_windows = @@is_cygwin = @@is_macosx = @@is_linux = @@is_bsdi = @@is_freebsd = @@is_netbsd = @@is_openbsd = @@is_java = @@is_android = false
34
34
  @@loaded_win32api = false
35
35
  @@loaded_tempfile = false
36
36
  @@loaded_fileutils = false
@@ -81,6 +81,11 @@ def self.is_java
81
81
  @@is_java = (RUBY_PLATFORM =~ /java/) ? true : false
82
82
  end
83
83
 
84
+ def self.is_android
85
+ return @@is_android if @@is_android
86
+ @@is_android = (RUBY_PLATFORM =~ /android/) ? true : false
87
+ end
88
+
84
89
  def self.is_wow64
85
90
  return false if not is_windows
86
91
  is64 = false
@@ -127,6 +132,8 @@ def self.open_browser(url='http://google.com/')
127
132
  Win32API.new("shell32.dll", "ShellExecute", ["PPPPPL"], "L").call(nil, "open", url, nil, nil, 0)
128
133
  when /darwin/
129
134
  system("open #{url}")
135
+ when /android/
136
+ system("am start --user 0 -a android.intent.action.VIEW -d #{url}")
130
137
  else
131
138
  # Search through the PATH variable (if it exists) and chose a browser
132
139
  # We are making an assumption about the nature of "PATH" so tread lightly
@@ -182,6 +189,8 @@ def self.open_webrtc_browser(url='http://google.com/')
182
189
  return true
183
190
  end
184
191
  end
192
+ when /android/
193
+ system("am start --user 0 -a android.intent.action.VIEW -d #{url}")
185
194
  else
186
195
  if defined? ENV['PATH']
187
196
  ['google-chrome', 'chrome', 'chromium', 'firefox' , 'firefox', 'opera'].each do |browser|
@@ -207,6 +216,8 @@ def self.open_email(addr)
207
216
  Win32API.new("shell32.dll", "ShellExecute", ["PPPPPL"], "L").call(nil, "open", "mailto:"+addr, nil, nil, 0)
208
217
  when /darwin/
209
218
  system("open mailto:#{addr}")
219
+ when /android/
220
+ system("am start --user 0 -a android.intent.action.VIEW -d mailto:#{addr}")
210
221
  else
211
222
  # ?
212
223
  end
@@ -223,6 +234,8 @@ def self.play_sound(path)
223
234
  Win32API.new("winmm.dll", "sndPlaySoundA", ["SI"], "I").call(path, 0x20000)
224
235
  when /darwin/
225
236
  system("afplay #{path} >/dev/null 2>&1")
237
+ when /android/
238
+ system("termux-open #{path}")
226
239
  else
227
240
  system("aplay #{path} >/dev/null 2>&1")
228
241
  end
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Core
3
- VERSION = "0.1.9"
3
+ VERSION = "0.1.14"
4
4
  end
5
5
  end
@@ -92,7 +92,7 @@ module StreamServer
92
92
  #
93
93
  def close_client(client)
94
94
  if (client)
95
- clients.delete(client)
95
+ detach_client(client)
96
96
 
97
97
  begin
98
98
  client.close
@@ -101,6 +101,13 @@ module StreamServer
101
101
  end
102
102
  end
103
103
 
104
+ #
105
+ # Detach a client. You are now responsible for it, not us
106
+ #
107
+ def detach_client(client)
108
+ self.clients.delete(client)
109
+ end
110
+
104
111
  #
105
112
  # This method waits on the server listener thread
106
113
  #
@@ -189,7 +196,7 @@ protected
189
196
 
190
197
  sd[0].each { |cfd|
191
198
  begin
192
- on_client_data(cfd)
199
+ on_client_data(cfd) if clients.include? cfd
193
200
  rescue ::EOFError, ::Errno::ECONNRESET, ::Errno::ENOTCONN, ::Errno::ECONNABORTED
194
201
  on_client_close(cfd)
195
202
  close_client(cfd)
@@ -205,7 +212,7 @@ protected
205
212
 
206
213
  rescue ::Rex::StreamClosedError => e
207
214
  # Remove the closed stream from the list
208
- clients.delete(e.stream)
215
+ detach_client(e.stream)
209
216
  rescue ::Interrupt
210
217
  raise $!
211
218
  rescue ::Exception
@@ -33,7 +33,7 @@ module ThreadSafe
33
33
 
34
34
  # Poll the set supplied to us at least once.
35
35
  begin
36
- rv = ::IO.select(rfd, wfd, efd, [left || DEFAULT_CYCLE, DEFAULT_CYCLE].min)
36
+ rv = ::IO.select(rfd, wfd, efd, DEFAULT_CYCLE)
37
37
  rescue ::IOError, ::Errno::EBADF, ::Errno::ENOTSOCK
38
38
  # If a stream was detected as being closed, re-raise the error as
39
39
  # a StreamClosedError with the specific file descriptor that was
@@ -6,21 +6,19 @@ require 'rex/core/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "rex-core"
8
8
  spec.version = Rex::Core::VERSION
9
- spec.authors = ["David Maloney"]
10
- spec.email = ["DMaloney@rapid7.com"]
9
+ spec.authors = ['Metasploit Hackers']
10
+ spec.email = ['msfdev@metasploit.com']
11
11
 
12
- spec.summary = %q{Core libraries required for the Ruby Exploitation(Rex) Suite.}
13
- spec.description = %q{Core libraries required for the Ruby Exploitation(Rex) Suite.}
12
+ spec.summary = %q{Core libraries required for the Ruby Exploitation (Rex) Suite.}
13
+ spec.description = %q{Core libraries required for the Ruby Exploitation (Rex) Suite.
14
+ Rex provides a variety of classes useful for security testing and exploit development.}
14
15
  spec.homepage = "https://github.com/rapid7/rex-core"
15
16
 
16
-
17
-
18
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
- spec.bindir = "exe"
20
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
18
  spec.require_paths = ["lib"]
22
19
 
23
- spec.add_development_dependency "bundler", "~> 1.12"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "rspec", "~> 3.0"
20
+ spec.required_ruby_version = '>= 2.2.0'
21
+
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rspec"
26
24
  end
metadata CHANGED
@@ -1,140 +1,133 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
- - David Maloney
7
+ - Metasploit Hackers
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G
14
- A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp
15
- Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4
16
- MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG
17
- A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI
18
- hvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8
19
- RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT
20
- gHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm
21
- KPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd
22
- QQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjlOCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZ
23
- XriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2xmmFghcCAwEAAaNCMEAw
24
- DgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI/wS3+o
25
- LkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZU
26
- RUm7lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwM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YIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNvbTBOBggrBgEFBQcw
87
+ AoZCaHR0cDovL2NhY2VydHMuZGlnaWNlcnQuY29tL0RpZ2lDZXJ0U0hBMkFzc3Vy
88
+ ZWRJRENvZGVTaWduaW5nQ0EuY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEL
89
+ BQADggEBAN+GL5/myPWg7oH4mVrG7/OhXF1MoYQF0ddaNiqaweEHMuKJBQCVZRbL
90
+ 37HojoKXXv2yyRJBCeTB+ojrxX+5PdLVZa0ss7toWzJ2A1poPXZ1eZvm5xeFD32z
91
+ YQaTmmNWNI3PCDTyJ2PXUc+bDiNNwcZ7yc5o78UNRvp9Jxghya17Q76c9Ov9wvnv
92
+ dxxQKWGOQy0m4fBrkyjAyH9Djjn81RbQrqYgPuhd5nD0HjN3VUQLhQbIJrk9TVs0
93
+ EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
94
+ 9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
90
95
  -----END CERTIFICATE-----
91
- date: 2017-04-07 00:00:00.000000000 Z
96
+ date: 2020-11-30 00:00:00.000000000 Z
92
97
  dependencies:
93
- - !ruby/object:Gem::Dependency
94
- name: bundler
95
- requirement: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: '1.12'
100
- type: :development
101
- prerelease: false
102
- version_requirements: !ruby/object:Gem::Requirement
103
- requirements:
104
- - - "~>"
105
- - !ruby/object:Gem::Version
106
- version: '1.12'
107
98
  - !ruby/object:Gem::Dependency
108
99
  name: rake
109
100
  requirement: !ruby/object:Gem::Requirement
110
101
  requirements:
111
- - - "~>"
102
+ - - ">="
112
103
  - !ruby/object:Gem::Version
113
- version: '10.0'
104
+ version: '0'
114
105
  type: :development
115
106
  prerelease: false
116
107
  version_requirements: !ruby/object:Gem::Requirement
117
108
  requirements:
118
- - - "~>"
109
+ - - ">="
119
110
  - !ruby/object:Gem::Version
120
- version: '10.0'
111
+ version: '0'
121
112
  - !ruby/object:Gem::Dependency
122
113
  name: rspec
123
114
  requirement: !ruby/object:Gem::Requirement
124
115
  requirements:
125
- - - "~>"
116
+ - - ">="
126
117
  - !ruby/object:Gem::Version
127
- version: '3.0'
118
+ version: '0'
128
119
  type: :development
129
120
  prerelease: false
130
121
  version_requirements: !ruby/object:Gem::Requirement
131
122
  requirements:
132
- - - "~>"
123
+ - - ">="
133
124
  - !ruby/object:Gem::Version
134
- version: '3.0'
135
- description: Core libraries required for the Ruby Exploitation(Rex) Suite.
125
+ version: '0'
126
+ description: |-
127
+ Core libraries required for the Ruby Exploitation (Rex) Suite.
128
+ Rex provides a variety of classes useful for security testing and exploit development.
136
129
  email:
137
- - DMaloney@rapid7.com
130
+ - msfdev@metasploit.com
138
131
  executables: []
139
132
  extensions: []
140
133
  extra_rdoc_files: []
@@ -147,8 +140,6 @@ files:
147
140
  - LICENSE
148
141
  - README.md
149
142
  - Rakefile
150
- - bin/console
151
- - bin/setup
152
143
  - lib/rex/compat.rb
153
144
  - lib/rex/core.rb
154
145
  - lib/rex/core/version.rb
@@ -177,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
168
  requirements:
178
169
  - - ">="
179
170
  - !ruby/object:Gem::Version
180
- version: '0'
171
+ version: 2.2.0
181
172
  required_rubygems_version: !ruby/object:Gem::Requirement
182
173
  requirements:
183
174
  - - ">="
@@ -185,8 +176,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
176
  version: '0'
186
177
  requirements: []
187
178
  rubyforge_project:
188
- rubygems_version: 2.4.8
179
+ rubygems_version: 2.7.10
189
180
  signing_key:
190
181
  specification_version: 4
191
- summary: Core libraries required for the Ruby Exploitation(Rex) Suite.
182
+ summary: Core libraries required for the Ruby Exploitation (Rex) Suite.
192
183
  test_files: []
metadata.gz.sig CHANGED
Binary file
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "rex/core"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here