rex-random_identifier 0.1.12 → 0.1.13

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: 19946dd36463a420c8711b9d1a65fd1811b9f96cb8b8e215dec744ee3c837d40
4
- data.tar.gz: 1bc7585ccff87e6ed3b9f8ad388f7de26b26e0f54d48a5e57d9d9f9ea37aa3d4
3
+ metadata.gz: 408de5bcbe3b95090cfb967f3a37cd1e3e9113e9827823b99127c862fd4cdbb8
4
+ data.tar.gz: 021ed6b76e408865751cc272e7fcf2697ad5ee2d1c50913fe0d65abbb3c0a326
5
5
  SHA512:
6
- metadata.gz: 69244c4d12a244c596e7867467908bc74004096d17ac987a60aa2aa1c545cdf0e4d402fa968727e1918c579886fc5948f63c5d1fb6e19c0abfa84c6bd6da12aa
7
- data.tar.gz: 5bfedd1a81b22ef42ff73494029fd946332392d8402b40348606a79136254ce7bb7a9b4f83de7bf7d28bfa2bb142339118761cfb96e6c522c3b8054ee35a90cf
6
+ metadata.gz: de6f034c9f3baf9a256b2fc3b01a324d44fa641c9a8ad1e7247e26a7be8470c20b3cb18e22254ee431ffbaa141f0d2e272beb454b05a3516f3a35d2e4518e51b
7
+ data.tar.gz: 1addbcdf307d4e2d3405625f6dd21a72bb3a888de150f137e4f8830430bef8066c3f87658176435682773ec71e6f4d1b8befb33029e06013418f2d71e021f1ec
checksums.yaml.gz.sig CHANGED
Binary file
@@ -62,10 +62,30 @@ class Rex::RandomIdentifier::Generator
62
62
  ).uniq.freeze
63
63
  )
64
64
 
65
+ JavaScriptOpts = DefaultOpts.merge(
66
+ forbidden: (
67
+ # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#reserved_words
68
+ # https://developer.mozilla.org/en-US/docs/Web/API/Window Instance methods
69
+ %w[
70
+ const continue debugger default delete do else export extends false finally for function if import in
71
+ instanceof new null return super switch this throw true try typeof var void while with let static yield
72
+ await arguments as async eval from get of set enum implements interface package private protected public
73
+ abstract boolean byte char double final float goto int long native short synchronized throws transient volatile
74
+ atob alert blur btoa cancelAnimationFrame cancelIdleCallback clearInterval clearTimeout close confirm
75
+ createImageBitmap dump fetch find focus getComputedStyle getDefaultComputedStyle getScreenDetails getSelection
76
+ matchMedia moveBy moveTo open postMessage print prompt queryLocalFonts queueMicrotask reportError
77
+ requestAnimationFrame requestIdleCallback resizeBy resizeTo scroll scrollBy scrollByLines scrollByPages
78
+ scrollTo setInterval setTimeout showDirectoryPicker showOpenFilePicker showSaveFilePicker sizeToContent
79
+ stop structuredClone updateCommands
80
+ ]
81
+ ).uniq.freeze
82
+ )
83
+
65
84
  Opts = {
66
85
  default: DefaultOpts,
67
86
  java: JavaOpts,
68
- jsp: JSPOpts
87
+ jsp: JSPOpts,
88
+ javascript: JavaScriptOpts
69
89
  }
70
90
 
71
91
  # @param opts [Hash] Options, see {DefaultOpts} for default values
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module RandomIdentifier
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
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-random_identifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
@@ -34,7 +34,7 @@ cert_chain:
34
34
  DgscAao7wB3xW2BWEp1KnaDWkf1x9ttgoBEYyuYwU7uatB67kBQG1PKvLt79wHvz
35
35
  Dxs+KOjGbBRfMnPgVGYkORKVrZIwlaboHbDKxcVW5xv+oZc7KYXWGg==
36
36
  -----END CERTIFICATE-----
37
- date: 2024-05-13 00:00:00.000000000 Z
37
+ date: 2024-11-13 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rake
metadata.gz.sig CHANGED
Binary file