Skip to content

Commit e1eed6e

Browse files
author
Donny Maasland (Fox-IT)
committed
single quotes and slashes..
1 parent 7d65095 commit e1eed6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/post/windows/gather/credentials/epo_sql.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ def initialize(info={})
3131
def run
3232
# Find out where things are installed
3333
print_status('Finding Tomcat install path...')
34-
subkeys = registry_enumkeys('HKLM\\Software\\Network Associates\\ePolicy Orchestrator',REGISTRY_VIEW_32_BIT)
34+
subkeys = registry_enumkeys('HKLM\Software\Network Associates\ePolicy Orchestrator',REGISTRY_VIEW_32_BIT)
3535
if subkeys.nil? or subkeys.empty?
3636
print_error ('ePO 4.6 Not Installed or No Permissions to RegKey')
3737
return
3838
end
3939
# Get the db.properties file location
40-
epol_reg_key = 'HKLM\\Software\\Network Associates\\ePolicy Orchestrator'
40+
epol_reg_key = 'HKLM\Software\Network Associates\ePolicy Orchestrator'
4141
dbprops_file = registry_getvaldata(epol_reg_key, 'TomcatFolder',REGISTRY_VIEW_32_BIT)
4242
if dbprops_file == nil or dbprops_file == ''
4343
print_error('Could not find db.properties file location')

0 commit comments

Comments
 (0)