Commit 214da5ee authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Reduce to global values only

- Renamed default configs
parent c43e6a07
#* Skynet - Automated "Cloud" Security Scanner *#
#* Copyright (C) 2014-present Jason Frisvold <friz@godshell.com> *#
#* *#
#* This program is free software; you can redistribute it and/or modify *#
#* it under the terms of the GNU General Public License as published by *#
#* the Free Software Foundation; either version 2 of the License, or *#
#* (at your option) any later version. *#
#* *#
#* This program is distributed in the hope that it will be useful, *#
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *#
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *#
#* GNU General Public License for more details. *#
#* *#
#* You should have received a copy of the GNU General Public License *#
#* along with this program; if not, write to the Free Software *#
#* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *#
# This file defines the default values used by the spawner
# DO NOT DELETE OR ALTER THIS FILE
[client]
# The configuration directory is where new instructions are placed by the server
configdir = /opt/skynet/config
# The data directory is where the spawner will store internal data.
datadir = /opt/skynet/spawner_data
# This defines the name of the sqlite database used for timing data. It will be
# located in the datadir.
timingdb = timing.db
# This defines the location of the nmap binary, including the binary name
nmap_binary = /usr/bin/nmap
# The directory where output from scans should be placed. Include the trailing
# slash.
output_dir = /opt/skynet/output/
# Location of the gpg binary. This should be the full path and binary name.
gpg_binary = /usr/bin/gpg
# Name of the gpg key to use for encrypting scan results. This key needs to be
# imported into gpg
gpg_key = <keyname>
......@@ -19,81 +19,7 @@
# DO NOT DELETE OR ALTER THIS FILE
[client]
[global]
# The configuration directory is where new instructions are placed by the server
configdir = /opt/skynet/config
# The data directory is where the spawner will store internal data.
datadir = /opt/skynet/spawner_data
# This defines the name of the sqlite database used for timing data. It will be
# located in the datadir.
timingdb = timing.db
# This defines the location of the nmap binary, including the binary name
nmap_binary = /usr/bin/nmap
# The directory where output from scans should be placed. Include the trailing
# slash.
output_dir = /opt/skynet/output/
# Location of the gpg binary. This should be the full path and binary name.
gpg_binary = /usr/bin/gpg
# Name of the gpg key to use for encrypting scan results. This key needs to be
# imported into gpg
gpg_key = 'Skynet Security Scanner'
[server]
# Type of the master skynet database
dbtype = mysql
# Name of the master skynet database
dbname = skynet
# Username for accessing the database
dbuser = skynet
# Password for accessing the database
dbpass = cloud
# Host where the database is located
dbhost = localhost
# Port where the database can be accessed
dbport = 3306
# Data directory where files are stored permanently
data_dir = /opt/skynet/data
# Working directory where files are temporarily stored until they can be
# processed
work_dir = /opt/skynet/server/working
# Location of the gpg binary. This should be the full path and binary name.
gpg_binary = /usr/bin/gpg
[gui]
# Directory Settings
base_dir = '/Users/XenoPhage/Code/skynet/skynet'
data_dir = BASE_DIR + '/data'
# Database Settings
sqlalchemy_database_uri = 'mysql://skynet:cloud@localhost/skynet'
nmap_xsl = '/static/nmap.xsl'
gnupg_home = BASE_DIR + '/.gnupg'
gnupg_pub = 'skynet_gpg.pub'
gnupg_sec = 'skynet_gpg.sec'
version = '1.0'
stylesheet = '/static/css/default.css'
favicon = 'favicon.ico'
uecdn = 'true'
homepage = 'http://www.godshell.com'
secret_key = 'itsasecretdummy'
version = 1.0
homepage = http://www.godshell.com
#* Skynet - Automated "Cloud" Security Scanner *#
#* Copyright (C) 2014-present Jason Frisvold <friz@godshell.com> *#
#* *#
#* This program is free software; you can redistribute it and/or modify *#
#* it under the terms of the GNU General Public License as published by *#
#* the Free Software Foundation; either version 2 of the License, or *#
#* (at your option) any later version. *#
#* *#
#* This program is distributed in the hope that it will be useful, *#
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *#
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *#
#* GNU General Public License for more details. *#
#* *#
#* You should have received a copy of the GNU General Public License *#
#* along with this program; if not, write to the Free Software *#
#* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *#
# Directory Settings
BASE_DIR = '/Users/XenoPhage/Code/skynet/skynet'
DATA_DIR = BASE_DIR + '/data'
# Database Settings
SQLALCHEMY_DATABASE_URI = 'mysql://skynet:cloud@localhost/skynet'
NMAP_XSL = '/static/nmap.xsl'
GNUPG_HOME = BASE_DIR + '/.gnupg'
GNUPG_PUB = 'skynet_gpg.pub'
GNUPG_SEC = 'skynet_gpg.sec'
VERSION = '1.0'
STYLESHEET = '/static/css/default.css'
FAVICON = 'favicon.ico'
USECDN = 'true'
HOMEPAGE = 'http://www.godshell.com'
SECRET_KEY = 'itsasecretdummy'
\ No newline at end of file
#* Skynet - Automated "Cloud" Security Scanner *#
#* Copyright (C) 2014-present Jason Frisvold <friz@godshell.com> *#
#* *#
#* This program is free software; you can redistribute it and/or modify *#
#* it under the terms of the GNU General Public License as published by *#
#* the Free Software Foundation; either version 2 of the License, or *#
#* (at your option) any later version. *#
#* *#
#* This program is distributed in the hope that it will be useful, *#
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *#
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *#
#* GNU General Public License for more details. *#
#* *#
#* You should have received a copy of the GNU General Public License *#
#* along with this program; if not, write to the Free Software *#
#* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *#
# This file defines the default values used by the skynet server
# DO NOT DELETE OR ALTER THIS FILE
[server]
# Type of the master skynet database
dbtype = mysql
# Name of the master skynet database
dbname = skynet
# Username for accessing the database
dbuser = skynet
# Password for accessing the database
dbpass = cloud
# Host where the database is located
dbhost = localhost
# Port where the database can be accessed
dbport = 3306
# Data directory where files are stored permanently
data_dir = /opt/skynet/data
# Working directory where files are temporarily stored until they can be
# processed
work_dir = /opt/skynet/server/working
# Location of the gpg binary. This should be the full path and binary name.
gpg_binary = /usr/bin/gpg
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment