From e1eed6e9d9566bf7e2fe04743c377a436e80c8fe Mon Sep 17 00:00:00 2001 From: "Donny Maasland (Fox-IT)" Date: Mon, 18 May 2015 16:33:57 +0200 Subject: [PATCH] single quotes and slashes.. --- modules/post/windows/gather/credentials/epo_sql.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/post/windows/gather/credentials/epo_sql.rb b/modules/post/windows/gather/credentials/epo_sql.rb index 4c7a3cf4ec..9e12f75297 100644 --- a/modules/post/windows/gather/credentials/epo_sql.rb +++ b/modules/post/windows/gather/credentials/epo_sql.rb @@ -31,13 +31,13 @@ class Metasploit3 < Msf::Post def run # Find out where things are installed print_status('Finding Tomcat install path...') - subkeys = registry_enumkeys('HKLM\\Software\\Network Associates\\ePolicy Orchestrator',REGISTRY_VIEW_32_BIT) + subkeys = registry_enumkeys('HKLM\Software\Network Associates\ePolicy Orchestrator',REGISTRY_VIEW_32_BIT) if subkeys.nil? or subkeys.empty? print_error ('ePO 4.6 Not Installed or No Permissions to RegKey') return end # Get the db.properties file location - epol_reg_key = 'HKLM\\Software\\Network Associates\\ePolicy Orchestrator' + epol_reg_key = 'HKLM\Software\Network Associates\ePolicy Orchestrator' dbprops_file = registry_getvaldata(epol_reg_key, 'TomcatFolder',REGISTRY_VIEW_32_BIT) if dbprops_file == nil or dbprops_file == '' print_error('Could not find db.properties file location')