From eedc77e2ba74e96861410f6bfecf2fb018d4e08c Mon Sep 17 00:00:00 2001 From: Carlos Perez Date: Wed, 27 Jul 2011 15:44:29 +0000 Subject: [PATCH] fixed problem where it looped when ran as system git-svn-id: file:///home/svn/framework3/trunk@13370 4d416f70-5f16-0410-b530-b9f4589650da --- modules/post/windows/gather/dumplinks.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/post/windows/gather/dumplinks.rb b/modules/post/windows/gather/dumplinks.rb index 875d07cd21..167438d08d 100644 --- a/modules/post/windows/gather/dumplinks.rb +++ b/modules/post/windows/gather/dumplinks.rb @@ -84,6 +84,7 @@ class Metasploit3 < Msf::Post userinfo['userpath'] = dir_entry_exists(userinfo['userpath']) userinfo['useroffcpath'] = dir_entry_exists(userinfo['useroffcpath']) users << userinfo + userinfo = {} end else uservar = session.fs.file.expand_path("%USERNAME%")