Fix the double-up data directory

git-svn-id: file:///home/svn/framework3/trunk@10903 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-11-04 22:12:50 +00:00
parent 652764ebd3
commit bbfcaefffb
1 changed files with 1 additions and 1 deletions

View File

@ -3806,7 +3806,7 @@ class DBManager
# @aspl = {'vulns' => {'name' => { }, 'cve' => { }, 'bid' => { } } # @aspl = {'vulns' => {'name' => { }, 'cve' => { }, 'bid' => { } }
# 'oses' => {'name' } } # 'oses' => {'name' } }
aspl_path = File.join(Msf::Config.data_directory, "data", "ncircle", "ip360.aspl") aspl_path = File.join(Msf::Config.data_directory, "ncircle", "ip360.aspl")
if not ::File.exist?(aspl_path) if not ::File.exist?(aspl_path)
raise DBImportError.new("The nCircle IP360 ASPL file is not present.\n Download ASPL from nCircle VNE | Administer | Support | Resources, unzip it, and save it as " + aspl_path) raise DBImportError.new("The nCircle IP360 ASPL file is not present.\n Download ASPL from nCircle VNE | Administer | Support | Resources, unzip it, and save it as " + aspl_path)