Move MSI source and binary location
parent
579126c777
commit
bc9065ad42
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue