fix for module caching issues with rexploit

git-svn-id: file:///home/svn/incoming/trunk@3554 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2006-03-07 07:05:41 +00:00
parent 168409fd88
commit 8b4ddab401
2 changed files with 6 additions and 1 deletions

View File

@ -535,6 +535,8 @@ class ModuleManager < ModuleSet
# Synchronizes the module cache information
#
def update_module_cache_info(fullname, modinfo)
return if (modinfo and modinfo['noup'] == true)
if (@modcache)
if (fullname)
@modcache.add_group(fullname)

View File

@ -74,7 +74,10 @@ class PayloadSet < ModuleSet
self.each_key { |key|
manager.delete(key)
}
self.clear
self.delete_if { |k, v|
v != SymbolicModule
}
# Recalculate single payloads
_singles.each_pair { |name, op|