Small fixes for dbvis enum
parent
294b1e5ed7
commit
47ec362148
|
@ -61,9 +61,9 @@ class MetasploitModule < Msf::Post
|
|||
print_status("File not found: #{dbvis_file}")
|
||||
print_status('This could be an older version of dbvis, trying old path')
|
||||
case session.platform
|
||||
when /linux/
|
||||
when 'linux'
|
||||
dbvis_file = "#{user_base}.dbvis/config/dbvis.xml"
|
||||
when /windows/
|
||||
when 'windows'
|
||||
dbvis_file = user_profile + "\\.dbvis\\config\\dbvis.xml"
|
||||
end
|
||||
unless file?(dbvis_file)
|
||||
|
|
Loading…
Reference in New Issue