Lands #4936, fixes a typo in post/windows/gather/credentials/steam

bug/bundler_fix 2015031701
HD Moore 2015-03-16 20:25:07 -05:00
commit 495a8f3a88
No known key found for this signature in database
GPG Key ID: 7549FB3DB1DD1F32
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