We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd5699d commit 14a5efcCopy full SHA for 14a5efc
lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb
@@ -380,6 +380,9 @@ def self.key2str(key)
380
# Returns the integer value associated with the supplied registry value
381
# type (like REG_SZ).
382
#
383
+ # @see https://msdn.microsoft.com/en-us/library/windows/desktop/ms724884(v=vs.85).aspx
384
+ # @param type [String] A Windows registry type constant name, e.g. 'REG_SZ'
385
+ # @return [Integer] one of the `REG_*` constants
386
def self.type2str(type)
387
case type
388
when 'REG_BINARY' then REG_BINARY
0 commit comments