fixed typo

Does no one tested this script on x64 yet ?
This commit is contained in:
Felix Wehnert 2015-03-16 20:15:26 +01:00
parent ac0e23d783
commit 2a525958bd
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Metasploit3 < Msf::Post
# the correct program files folder.
# We will just use an x64 only defined env variable to check.
progfiles_env = session.sys.config.getenvs('ProgramFiles(X86)', 'ProgramFiles')
progfilesx86 = prog_files_env['ProgramFiles(X86)']
progfilesx86 = progfiles_env['ProgramFiles(X86)']
if not progfilesx86.empty? and progfilesx86 !~ /%ProgramFiles\(X86\)%/
progs = progfilesx86 # x64
else