Closed j91321 closed 1 year ago
Yea I think the missing type
is a protobuf enum
RegistryType isn't defined in the Sliver protobuf files but it's defined in https://github.com/BishopFox/sliver/blob/b621107965a59d5e8dc53bf8f4700bf44e8b9cbe/protobuf/sliverpb/constants.go#L297-L301
Probably should be added to Sliver's sliver.proto
first and regenerated here.
Hi,
The
registry_write()
function seems to be unusable currently. According to documentation it's defined as following:The function requires to all arguments to be defined otherwise
TypeError: registry_write() missing required positional argument
occurs. Documentation under params mentionsreg_type
which makes sense since you need to know which of these should be used. However this is not a valid argument. It should be typesliver_pb2.RegistryType
which I haven't found defined anywhere.If you just define the
_value
arguments with whatever valid values, the request timeouts.Example code: