--- unicornscan-0.4.7/etc/modules.conf 2006-10-18 18:57:05.000000000 +0200 +++ unicornscan-0.4.7/etc/modules.conf.config 2009-12-05 20:34:31.000000000 +0100 @@ -1,16 +1,9 @@ module "pgsqldb" { - dbconf: "user=scan password=scanit! host=localhost dbname=scan"; + dbconf: "user=unicornscan password=scanit! host=localhost dbname=unicornscan"; logpacket: "true"; }; -module "mysqldb" { - username: "scan"; - password: "scanit!"; - hostname: "localhost"; - dbname: "foo"; -}; - module "osdetect" { /* Stim TCPFLG TTL DF WS TOS Misc */ /* tcpopts type desc */ --- unicornscan-0.4.7/www-front-end/config.php 2007-11-27 11:23:35.000000000 +0100 +++ unicornscan-0.4.7/www-front-end/config.php.config 2009-12-05 20:35:13.000000000 +0100 @@ -4,16 +4,16 @@ define("config_master_include", 1); // Web Server location stuff - $PHPLIB["uri_base"]="http://localhost/unicornscan/"; // http://vhost.domain.tld/something/ + $PHPLIB["uri_base"]="/unicornscan/"; // http://vhost.domain.tld/something/ - $PHPLIB["filesystem_base"]="/var/www/htdocs/unicornscan/"; // Base directory content is in - $PHPLIB["filesystem_phplib"]="/var/www/htdocs/unicornscan/lib/"; // Where phplib is - $PHPLIB["filesystem_temporary"]="/tmp/"; // Where can i write files to? + $PHPLIB["filesystem_base"]="/var/www/htdocs/unicornscan/"; // Base directory content is in + $PHPLIB["filesystem_phplib"]="/var/www/htdocs/unicornscan/lib/";// Where phplib is + $PHPLIB["filesystem_temporary"]="/tmp/"; // Where can i write files to? // DataBase Variables - $PHPLIB["database_name"]="scan"; // change this for sure , its the database name - $PHPLIB["database_type"]="pgsql"; // pgsql, mysql, youll need the right class though - $PHPLIB["database_username"]="scan"; + $PHPLIB["database_name"]="unicornscan"; // change this for sure , its the database name + $PHPLIB["database_type"]="pgsql"; // and something else isn't supported right now + $PHPLIB["database_username"]="unicornscan"; $PHPLIB["database_password"]="scanit!"; $PHPLIB["database_host"]="127.0.0.1"; $PHPLIB["database_db"]["default"]=""; @@ -24,6 +24,9 @@ // formclass2.php stuff $PHPLIB["formclass_warnimage"]="exl.gif"; // warning image for invalid forms + // No PHP error reporting + error_reporting(0); + } // Double Inclusion detection require("./lib/connect_todb.php");