Skip to content

Commit

Permalink
Move MSI source and binary location
Browse files Browse the repository at this point in the history
  • Loading branch information
Meatballs1 committed Nov 27, 2012
1 parent 579126c commit bc9065a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion modules/exploits/windows/local/always_install_elevated.rb
Expand Up @@ -117,7 +117,7 @@ def exploit
@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}"
Expand Down

0 comments on commit bc9065a

Please sign in to comment.