rex-random_identifier 0.1.12 → 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
2
  SHA256:
3
- metadata.gz: 19946dd36463a420c8711b9d1a65fd1811b9f96cb8b8e215dec744ee3c837d40
4
- data.tar.gz: 1bc7585ccff87e6ed3b9f8ad388f7de26b26e0f54d48a5e57d9d9f9ea37aa3d4
3
+ metadata.gz: b00578c2836d5d9838db7fc038513035260140cf7554a459e863b08bed6f4fdb
4
+ data.tar.gz: 6f6bb6970c7d5c189eacd2c83c95d6020a739f009b88c1d76c38d02ab9c8e5fb
5
5
  SHA512:
6
- metadata.gz: 69244c4d12a244c596e7867467908bc74004096d17ac987a60aa2aa1c545cdf0e4d402fa968727e1918c579886fc5948f63c5d1fb6e19c0abfa84c6bd6da12aa
7
- data.tar.gz: 5bfedd1a81b22ef42ff73494029fd946332392d8402b40348606a79136254ce7bb7a9b4f83de7bf7d28bfa2bb142339118761cfb96e6c522c3b8054ee35a90cf
6
+ metadata.gz: 3882a2c89cb7d3607f6fd98e85f79513295508d8763e22ac36b97c63bab2cb4b8bb96add2cc1049aac6273c9eae0a4854c5b30285e23a034795e020aab73fb2c
7
+ data.tar.gz: ee3a635c3c944bacba2ab3d4b0b016d6390506d09829aa5137cec6a684c7a897e93d2db5f3ab562f8adf15b06c7774777c097d3ea3355c8cca0252021c0b09ad
checksums.yaml.gz.sig CHANGED
Binary file
@@ -62,10 +62,61 @@ 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
74
+ volatile 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
+ PythonOpts = DefaultOpts.merge(
84
+ forbidden: (
85
+ # words generated for Python 3.9+ using the keyword module
86
+ # https://docs.python.org/3/library/keyword.html
87
+ # import keyword; print(' '.join(sorted(word for word in (keyword.kwlist + keyword.softkwlist + dir(__builtins__)) if not word.startswith('_'))))
88
+ %w[
89
+ ArithmeticError AssertionError AttributeError BaseException BaseExceptionGroup BlockingIOError BrokenPipeError
90
+ BufferError BytesWarning ChildProcessError ConnectionAbortedError ConnectionError ConnectionRefusedError
91
+ ConnectionResetError DeprecationWarning EOFError Ellipsis EncodingWarning EnvironmentError Exception
92
+ ExceptionGroup False FileExistsError FileNotFoundError FloatingPointError FutureWarning GeneratorExit IOError
93
+ ImportError ImportWarning IndentationError IndexError InterruptedError IsADirectoryError KeyError
94
+ KeyboardInterrupt LookupError MemoryError ModuleNotFoundError NameError None NotADirectoryError NotImplemented
95
+ NotImplementedError OSError OverflowError PendingDeprecationWarning PermissionError ProcessLookupError
96
+ RecursionError ReferenceError ResourceWarning RuntimeError RuntimeWarning StopAsyncIteration StopIteration
97
+ SyntaxError SyntaxWarning SystemError SystemExit TabError TimeoutError True TypeError UnboundLocalError
98
+ UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning UserWarning ValueError
99
+ Warning ZeroDivisionError abs aiter all and anext any as ascii assert async await bin bool break breakpoint
100
+ bytearray bytes callable case chr class classmethod compile complex continue copyright credits def del delattr
101
+ dict dir divmod elif else enumerate eval except exec exit filter finally float for format from frozenset getattr
102
+ global globals hasattr hash help hex id if import in input int is isinstance issubclass iter lambda len license
103
+ list locals map match max memoryview min next nonlocal not object oct open or ord pass pow print property quit
104
+ raise range repr return reversed round set setattr slice sorted staticmethod str sum super try tuple type type
105
+ vars while with yield zip
106
+ ] + # plus words specific to Python 2
107
+ %w[
108
+ StandardError basestring cmp coerce execfile exit file intern long print raw_input reduce reload unichr unicode
109
+ xrange
110
+ ]
111
+ ).freeze
112
+ )
113
+
65
114
  Opts = {
66
115
  default: DefaultOpts,
67
116
  java: JavaOpts,
68
- jsp: JSPOpts
117
+ jsp: JSPOpts,
118
+ javascript: JavaScriptOpts,
119
+ python: PythonOpts
69
120
  }
70
121
 
71
122
  # @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.14"
4
4
  end
5
5
  end
data.tar.gz.sig CHANGED
@@ -1,5 +1,3 @@
1
- w�*w�o�zU7_(��������1/,�ϯ��`� ����1ݭz�w,��J��+�K`-|��@�JvAu���.$K���f�\��@#-�w8�/��Cb�`}�;�%�qy �Y��Z@��w��!��^~C4� U]9��BVχs�>_�����0 � ��
2
- /�FdkLQgU'l�8���r�?�Xg��F
3
- 5�f,k\��:Vh��N��C$뿫���T���إ�j�\w�m����HvA߮1搗�:<�'D�M�?�
4
- �S�
5
- 8�&n� ^Ⳙ��c�+'��Xvq�^�ö9=������l�ՂQS��t�pA!2ф#��6 oL������_�VT�4ȶ���ˆ�a���ͭg2��
1
+ ^�I�P:�w��z O�T:!l��]} I��ր�=�5��n��s��K<�V���Dfb��*�hO��\BVPS����"ZJ35)��R��
2
+ �ߓ�^v[TDҰ,��M�}M�H
3
+ ���}P�;XRN
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.14
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-15 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rake
metadata.gz.sig CHANGED
Binary file