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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rex/random_identifier/generator.rb +52 -1
- data/lib/rex/random_identifier/version.rb +1 -1
- data.tar.gz.sig +3 -5
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b00578c2836d5d9838db7fc038513035260140cf7554a459e863b08bed6f4fdb
|
4
|
+
data.tar.gz: 6f6bb6970c7d5c189eacd2c83c95d6020a739f009b88c1d76c38d02ab9c8e5fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data.tar.gz.sig
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
w
|
2
|
-
|
3
|
-
�
|
4
|
-
�S�
|
5
|
-
8�&n� ^Ⳙ��c�+'��Xvq�^�ö9=������l�ՂQS��t�pA!2ф#��6oL������_�VT�4ȶ����a���ͭg2��
|
1
|
+
^�I�P:�w��z�O�T:!l��]}I��ր�=�5��n��s��K<�V���Dfb��*�h�O��\B�VPS����"ZJ35)��R��
|
2
|
+
�ߓ�^v�[�T�DҰ,��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.
|
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-
|
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
|