rex-random_identifier 0.1.13 → 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: 408de5bcbe3b95090cfb967f3a37cd1e3e9113e9827823b99127c862fd4cdbb8
4
- data.tar.gz: 021ed6b76e408865751cc272e7fcf2697ad5ee2d1c50913fe0d65abbb3c0a326
3
+ metadata.gz: b00578c2836d5d9838db7fc038513035260140cf7554a459e863b08bed6f4fdb
4
+ data.tar.gz: 6f6bb6970c7d5c189eacd2c83c95d6020a739f009b88c1d76c38d02ab9c8e5fb
5
5
  SHA512:
6
- metadata.gz: de6f034c9f3baf9a256b2fc3b01a324d44fa641c9a8ad1e7247e26a7be8470c20b3cb18e22254ee431ffbaa141f0d2e272beb454b05a3516f3a35d2e4518e51b
7
- data.tar.gz: 1addbcdf307d4e2d3405625f6dd21a72bb3a888de150f137e4f8830430bef8066c3f87658176435682773ec71e6f4d1b8befb33029e06013418f2d71e021f1ec
6
+ metadata.gz: 3882a2c89cb7d3607f6fd98e85f79513295508d8763e22ac36b97c63bab2cb4b8bb96add2cc1049aac6273c9eae0a4854c5b30285e23a034795e020aab73fb2c
7
+ data.tar.gz: ee3a635c3c944bacba2ab3d4b0b016d6390506d09829aa5137cec6a684c7a897e93d2db5f3ab562f8adf15b06c7774777c097d3ea3355c8cca0252021c0b09ad
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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 volatile
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
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module RandomIdentifier
3
- VERSION = "0.1.13"
3
+ VERSION = "0.1.14"
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.13
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-11-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