summaryrefslogtreecommitdiffstats
path: root/network/unicornscan/patches/unicornscan-0.4.7-config.patch
blob: dd97d0f09e0b90755d252eb95efea2f2bb9eaf5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- 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");