Forgot to close out the registry hives when done. fixed now

git-svn-id: file:///home/svn/framework3/trunk@14100 4d416f70-5f16-0410-b530-b9f4589650da
unstable
David Maloney 2011-10-28 18:00:10 +00:00
parent 8be10d4abe
commit b15f878b2f
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ class Metasploit3 < Msf::Post
creds << [user, decpass]
credcount = (credcount + 1)
end
#clean up after ourselves
unload_our_hives(userhives)
print_status("#{credcount} Credentials were found.")
if credcount > 0