fixed problem where it looped when ran as system

git-svn-id: file:///home/svn/framework3/trunk@13370 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Carlos Perez
2011-07-27 15:44:29 +00:00
parent 5b7a8ad6a3
commit eedc77e2ba
+1
View File
@@ -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%")