rex-exploitation 0.1.8 → 0.1.9
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/data/js/detect/os.js +59 -1
- data/lib/rex/exploitation/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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca75c92f579d8335d857047446dcea6c5f05653b
|
|
4
|
+
data.tar.gz: e4365ca5c0a47ebe981dfcabb8a9316b2af03722
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97df28729572808c1d6c91a70f22715fbdfeae4f0319644a648a043d05bb443f519b285dab4e7d2889e67dc7bfc39d4d3fc0ac7d8bca754f1193c02227064550
|
|
7
|
+
data.tar.gz: 27aa3b342eb255fef8b38d788060c3cb64384f82ef3f910fd6ea300285a178f1ded03bee7aa85fef75a52db74733b523127e5d336b4ff45add54d84490698118
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/data/js/detect/os.js
CHANGED
|
@@ -63,6 +63,12 @@ os_detect.getVersion = function(){
|
|
|
63
63
|
return input.type == input_type;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
var syntax_is_valid = function(code) {
|
|
67
|
+
try { eval(code); return true;}
|
|
68
|
+
catch (err) {}
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
|
|
66
72
|
//--
|
|
67
73
|
// Client
|
|
68
74
|
//--
|
|
@@ -221,7 +227,59 @@ os_detect.getVersion = function(){
|
|
|
221
227
|
// Thanks to developer.mozilla.org "Firefox for developers" series for most
|
|
222
228
|
// of these.
|
|
223
229
|
// Release changelogs: http://www.mozilla.org/en-US/firefox/releases/
|
|
224
|
-
if ('
|
|
230
|
+
if ('Symbol' in window && 'toStringTag' in window.Symbol) {
|
|
231
|
+
ua_version = '51.0';
|
|
232
|
+
}
|
|
233
|
+
else if ('Object' in window && 'getOwnPropertyDescriptors' in window.Object) {
|
|
234
|
+
ua_version = '50.0';
|
|
235
|
+
}
|
|
236
|
+
else if ('SpeechSynthesis' in window) {
|
|
237
|
+
ua_version = '49.0';
|
|
238
|
+
}
|
|
239
|
+
else if ('padStart' in String.prototype) {
|
|
240
|
+
ua_version = '48.0';
|
|
241
|
+
}
|
|
242
|
+
else if ('TextTrack' in window &&
|
|
243
|
+
'oncuechange' in window.TextTrack.prototype) {
|
|
244
|
+
ua_version = '47.0';
|
|
245
|
+
}
|
|
246
|
+
else if ('elementsFromPoint' in document) {
|
|
247
|
+
ua_version = '46.0';
|
|
248
|
+
}
|
|
249
|
+
else if (syntax_is_valid('class A {}')) {
|
|
250
|
+
ua_version = '45.0';
|
|
251
|
+
}
|
|
252
|
+
else if ('Symbol' in window && 'toPrimitive' in Symbol) {
|
|
253
|
+
ua_version = '44.0';
|
|
254
|
+
}
|
|
255
|
+
else if (css_is_valid('hyphens', 'hyphens', 'auto')) {
|
|
256
|
+
ua_version = '43.0';
|
|
257
|
+
}
|
|
258
|
+
else if (typeof(ImageBitmap) == 'function') {
|
|
259
|
+
ua_version = '42.0';
|
|
260
|
+
}
|
|
261
|
+
else if (typeof(MessageChannel) == 'function') {
|
|
262
|
+
ua_version = '41.0';
|
|
263
|
+
}
|
|
264
|
+
else if (typeof(AudioContext) == 'function' &&
|
|
265
|
+
typeof(new AudioContext().createBufferSource().detune) == 'object') {
|
|
266
|
+
ua_version = '40.0';
|
|
267
|
+
}
|
|
268
|
+
else if (css_is_valid('scroll-snap-points-x', 'scrollSnapPointsX', 'unset')) {
|
|
269
|
+
ua_version = '39.0';
|
|
270
|
+
}
|
|
271
|
+
else if ('createElement' in document &&
|
|
272
|
+
document.createElement('picture') &&
|
|
273
|
+
document.createElement('picture').constructor === window['HTMLPictureElement']) {
|
|
274
|
+
ua_version = '38.0';
|
|
275
|
+
}
|
|
276
|
+
else if (css_is_valid('display', 'display', 'contents')) {
|
|
277
|
+
ua_version = '37.0';
|
|
278
|
+
}
|
|
279
|
+
else if (css_is_valid('isolation', 'isolation', 'isolate')) {
|
|
280
|
+
ua_version = '36.0';
|
|
281
|
+
}
|
|
282
|
+
else if ('closest' in Element.prototype) {
|
|
225
283
|
ua_version = '35.0';
|
|
226
284
|
} else if ('matches' in Element.prototype) {
|
|
227
285
|
ua_version = '34.0';
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rex-exploitation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Maloney
|
|
@@ -88,7 +88,7 @@ cert_chain:
|
|
|
88
88
|
G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
|
|
89
89
|
8mVuTXnyJOKRJA==
|
|
90
90
|
-----END CERTIFICATE-----
|
|
91
|
-
date: 2017-01-
|
|
91
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
|
92
92
|
dependencies:
|
|
93
93
|
- !ruby/object:Gem::Dependency
|
|
94
94
|
name: bundler
|
metadata.gz.sig
CHANGED
|
Binary file
|