module is a reversed name, opps!
git-svn-id: file:///home/svn/incoming/trunk@2540 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
266cd54088
commit
dd7f27e974
|
@ -133,13 +133,13 @@ class ClientCore < Extension
|
|||
Indicates that the library should be loaded from disk, not from
|
||||
memory on the remote machine
|
||||
=end
|
||||
def use(module, opts)
|
||||
if (module == nil)
|
||||
def use(mod, opts)
|
||||
if (mod == nil)
|
||||
raise RuntimeError, "No modules were specified", caller
|
||||
end
|
||||
|
||||
if (load_library(
|
||||
'LibraryFilePath' => 'data/meterpreter/ext_server_' + module.downcase + '.dll',
|
||||
'LibraryFilePath' => 'data/meterpreter/ext_server_' + mod.downcase + '.dll',
|
||||
'UploadLibrary' => true,
|
||||
'Extension' => true,
|
||||
'SaveToDisk' => opts['LoadFromDisk']))
|
||||
|
|
Loading…
Reference in New Issue