Fix the double-up data directory
git-svn-id: file:///home/svn/framework3/trunk@10903 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
652764ebd3
commit
bbfcaefffb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue