All changes look good, merging

git-svn-id: file:///home/svn/framework3/trunk@12921 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-06-11 23:17:42 +00:00
parent 662840404f
commit 6dd65e56f2
17 changed files with 10 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -44,7 +44,16 @@ class Registry
return RegistrySubsystem::RegistryKey.new(client, root_key, base_key, perm, root_key) return RegistrySubsystem::RegistryKey.new(client, root_key, base_key, perm, root_key)
end end
return self.create_key(root_key, base_key, perm) request = Packet.create_request('stdapi_registry_open_key')
request.add_tlv(TLV_TYPE_ROOT_KEY, root_key)
request.add_tlv(TLV_TYPE_BASE_KEY, base_key)
request.add_tlv(TLV_TYPE_PERMISSION, perm)
response = client.send_request(request)
return Rex::Post::Meterpreter::Extensions::Stdapi::Sys::RegistrySubsystem::RegistryKey.new(
client, root_key, base_key, perm, response.get_tlv(TLV_TYPE_HKEY).value)
end end
# #