module is a reversed name, opps!

git-svn-id: file:///home/svn/incoming/trunk@2540 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Spoon M 2005-06-02 01:06:17 +00:00
parent 266cd54088
commit dd7f27e974
1 changed files with 3 additions and 3 deletions

View File

@ -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']))