more ninja foo
git-svn-id: file:///home/svn/incoming/trunk@2350 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1d6e8a10d8
commit
a89490cd64
|
@ -93,7 +93,7 @@ class ClientCore
|
|||
# path of the local and target so that it gets loaded with a random
|
||||
# name
|
||||
if (opts['Extension'])
|
||||
library_path = "ext" + rand(1000000) + ".dll"
|
||||
library_path = "ext" + rand(1000000).to_s + ".dll"
|
||||
target_path = library_path
|
||||
end
|
||||
end
|
||||
|
@ -154,7 +154,7 @@ class ClientCore
|
|||
modules.each { |mod|
|
||||
|
||||
load_library(
|
||||
'LibraryFilePath' => 'data/meterpreter/' + mod + '.dll',
|
||||
'LibraryFilePath' => 'data/meterpreter/ext_server_' + mod.downcase + '.dll',
|
||||
'UploadLibrary' => true,
|
||||
'Extension' => true,
|
||||
'SaveToDisk' => opts['LoadFromDisk']
|
||||
|
|
Loading…
Reference in New Issue