From 97d729044032ad55bdf9e85f26b9de88c197c6c4 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Wed, 3 Nov 2010 04:20:42 +0000 Subject: [PATCH] Fix an inadvertant change to close_key() git-svn-id: file:///home/svn/framework3/trunk@10878 4d416f70-5f16-0410-b530-b9f4589650da --- .../extensions/stdapi/sys/registry_subsystem/registry_key.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb b/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb index 437619abac..1080568079 100644 --- a/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb +++ b/lib/rex/post/meterpreter/extensions/stdapi/sys/registry_subsystem/registry_key.rb @@ -107,7 +107,7 @@ class RegistryKey # def self.close(client, hkey) if hkey != nil - return client.sys.registry.close_key(hkey, nil) + return client.sys.registry.close_key(hkey) end return false