fix for module caching issues with rexploit
git-svn-id: file:///home/svn/incoming/trunk@3554 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
168409fd88
commit
8b4ddab401
|
@ -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)
|
||||
|
|
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue