rex-random_identifier 0.1.13 → 0.1.15
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/cortex.yaml +2 -0
- data/lib/rex/random_identifier/generator.rb +34 -3
- data/lib/rex/random_identifier/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: fb07b709a8731f3de8bfc0415fb123f7ed415a81c197fd563b92cf5653a5b48f
|
4
|
+
data.tar.gz: 548c78b01c445d123dfa5c9b87f48ec859b2262fb0f09b6b736a9fedd616ee4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c34bd0299242fb0afaf0e4ef8580e5c40f07f350cffac62e2042d389c299ed10eb76fb0004ef78621c046b510ebed536d9c2552d5f28c0dcecd19b5d73743343
|
7
|
+
data.tar.gz: ea324d638a0e70e5d8b8c0c42b46607120d275ed7c9923c114fda9717f76b53b702a5a44b8fdbcb4f2f24e7314328e7f73cbf33f7efb4eec82aa57127a07284e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/cortex.yaml
CHANGED
@@ -70,8 +70,8 @@ class Rex::RandomIdentifier::Generator
|
|
70
70
|
const continue debugger default delete do else export extends false finally for function if import in
|
71
71
|
instanceof new null return super switch this throw true try typeof var void while with let static yield
|
72
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
|
-
atob alert blur btoa cancelAnimationFrame cancelIdleCallback clearInterval clearTimeout close confirm
|
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
75
|
createImageBitmap dump fetch find focus getComputedStyle getDefaultComputedStyle getScreenDetails getSelection
|
76
76
|
matchMedia moveBy moveTo open postMessage print prompt queryLocalFonts queueMicrotask reportError
|
77
77
|
requestAnimationFrame requestIdleCallback resizeBy resizeTo scroll scrollBy scrollByLines scrollByPages
|
@@ -80,12 +80,43 @@ class Rex::RandomIdentifier::Generator
|
|
80
80
|
]
|
81
81
|
).uniq.freeze
|
82
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
|
+
)
|
83
113
|
|
84
114
|
Opts = {
|
85
115
|
default: DefaultOpts,
|
86
116
|
java: JavaOpts,
|
87
117
|
jsp: JSPOpts,
|
88
|
-
javascript: JavaScriptOpts
|
118
|
+
javascript: JavaScriptOpts,
|
119
|
+
python: PythonOpts
|
89
120
|
}
|
90
121
|
|
91
122
|
# @param opts [Hash] Options, see {DefaultOpts} for default values
|
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.
|
4
|
+
version: 0.1.15
|
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:
|
37
|
+
date: 2025-02-13 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rake
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
|
-
rubygems_version: 3.
|
120
|
+
rubygems_version: 3.3.3
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Random Identifier Generator
|
metadata.gz.sig
CHANGED
Binary file
|