From: Roland Haeder Date: Thu, 31 Dec 2009 02:57:02 +0000 (+0000) Subject: Database dump added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1682752134aef79f6806d062d7c1f3e772299786;p=ctracker.git Database dump added --- diff --git a/.gitattributes b/.gitattributes index cf92e91..f9e49f2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,6 +8,7 @@ docs/README -text docs/THANKS -text docs/TODO -text docs/TODOs.txt -text +install/install.sql -text libs/.htaccess -text libs/lib_ -text libs/lib_connect.php -text diff --git a/install/install.sql b/install/install.sql new file mode 100644 index 0000000..eb3ce77 --- /dev/null +++ b/install/install.sql @@ -0,0 +1,17 @@ +DROP TABLE IF EXISTS `ctracker_data`; +CREATE TABLE IF NOT EXISTS `ctracker_data` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Running id number', + `remote_addr` varchar(15) NOT NULL COMMENT 'Remote address', + `user_agent` tinytext NOT NULL COMMENT 'User agent string', + `post_data` tinytext NOT NULL COMMENT 'Serialized POST data', + `check_worm` tinytext NOT NULL COMMENT 'Serialized GET data', + `check_post` tinytext NOT NULL COMMENT 'Serialized GET data', + `server_name` tinytext NOT NULL COMMENT 'Server''s host name', + `script_name` varchar(255) NOT NULL COMMENT 'Full script name', + `referer` varchar(255) NOT NULL COMMENT 'Referer', + `first_attempt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'First attempt', + `last_attempt` timestamp NOT NULL COMMENT 'Last attempt', + `count` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Counter', + PRIMARY KEY (`id`), + KEY `remote_addr` (`remote_addr`) +) TYPE=InnoDB COMMENT='Gathered data of attack';