Move MSI source and binary location

unstable
Meatballs1 2012-11-27 18:12:49 +00:00
parent 579126c777
commit bc9065ad42
3 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class Metasploit3 < Msf::Exploit::Local
@executed = true
msi_filename = Rex::Text.rand_text_alpha((rand(8)+6)) + ".msi"
msi_source = ::File.join(Msf::Config.install_root, "data", "post", "exec_payload.msi")
msi_source = ::File.join(Msf::Config.install_root, "data", "exploits", "exec_payload.msi")
# Upload MSI
@msi_destination = "#{session.fs.file.expand_path("%TEMP%")}\\#{msi_filename}"