-- phpMyAdmin SQL Dump -- version 3.4.11.1deb2 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Oct 06, 2013 at 10:02 PM -- Server version: 5.5.31 -- PHP Version: 5.4.4-14+deb7u4 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `thboot` -- CREATE DATABASE `thboot` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `thboot`; -- -------------------------------------------------------- -- -- Table structure for table `boots_list` -- CREATE TABLE IF NOT EXISTS `boots_list` ( `id` int(255) NOT NULL AUTO_INCREMENT, `user` int(255) NOT NULL, `user_name` varchar(255) CHARACTER SET utf8 NOT NULL, `host` varchar(255) NOT NULL, `port` int(6) NOT NULL, `method` int(255) NOT NULL, `methodName` varchar(255) CHARACTER SET utf8 NOT NULL, `api_id` int(255) NOT NULL, `startTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `bootTime` int(100) NOT NULL, `stopped` tinyint(1) NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=16188 ; -- -------------------------------------------------------- -- -- Table structure for table `friends_ennemies_list` -- CREATE TABLE IF NOT EXISTS `friends_ennemies_list` ( `id` int(255) NOT NULL AUTO_INCREMENT, `user` int(255) NOT NULL, `ip_address` varchar(255) NOT NULL, `name` varchar(255) NOT NULL, `type` int(1) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `user` (`user`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `general_logs` -- CREATE TABLE IF NOT EXISTS `general_logs` ( `id` int(255) NOT NULL AUTO_INCREMENT, `user` int(255) NOT NULL, `user_name` varchar(255) CHARACTER SET utf8 NOT NULL, `action` longtext CHARACTER SET utf8 NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5961 ; -- -------------------------------------------------------- -- -- Table structure for table `getip_logs` -- CREATE TABLE IF NOT EXISTS `getip_logs` ( `id` int(255) NOT NULL AUTO_INCREMENT, `user` int(255) NOT NULL, `visitor_ip` varchar(255) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `user` (`user`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `laravel_migrations` -- CREATE TABLE IF NOT EXISTS `laravel_migrations` ( `bundle` varchar(50) NOT NULL, `name` varchar(200) NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`bundle`,`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `methods_apis` -- CREATE TABLE IF NOT EXISTS `methods_apis` ( `id` int(255) NOT NULL AUTO_INCREMENT, `method_id` int(255) NOT NULL, `type` varchar(255) NOT NULL DEFAULT 'get', `startlink` varchar(255) NOT NULL, `stoplink` varchar(255) NOT NULL, `ssh_host` varchar(255) NOT NULL, `ssh_port` int(11) NOT NULL, `ssh_username` varchar(255) NOT NULL, `ssh_password` varchar(255) NOT NULL, `ssh_start` varchar(255) NOT NULL, `ssh_stop` varchar(255) NOT NULL, `stoppable` tinyint(1) NOT NULL DEFAULT '1', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `method_id` (`method_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=140 ; -- -------------------------------------------------------- -- -- Table structure for table `methods_blacklist` -- CREATE TABLE IF NOT EXISTS `methods_blacklist` ( `id` int(255) NOT NULL AUTO_INCREMENT, `data` varchar(255) CHARACTER SET utf8 NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -------------------------------------------------------- -- -- Table structure for table `news` -- CREATE TABLE IF NOT EXISTS `news` ( `id` int(255) NOT NULL AUTO_INCREMENT, `user` varchar(255) NOT NULL, `title` varchar(255) NOT NULL, `text` longtext NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ; -- -------------------------------------------------------- -- -- Table structure for table `payments` -- CREATE TABLE IF NOT EXISTS `payments` ( `id` int(255) NOT NULL AUTO_INCREMENT, `user_id` int(255) NOT NULL, `user_name` varchar(255) NOT NULL, `amount` varchar(255) NOT NULL, `done` tinyint(1) NOT NULL DEFAULT '0', `data` longtext NOT NULL, `pp_transaction_id` varchar(255) NOT NULL DEFAULT '', `new_expiry` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `new_lifetime` int(11) NOT NULL DEFAULT '0', `new_boottime` int(11) NOT NULL DEFAULT '0', `new_concurrent` int(11) NOT NULL DEFAULT '0', `new_cooldown` int(255) NOT NULL DEFAULT '0', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=317 ; -- -------------------------------------------------------- -- -- Table structure for table `sessions` -- CREATE TABLE IF NOT EXISTS `sessions` ( `id` varchar(40) NOT NULL, `last_activity` int(11) NOT NULL, `data` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `settings` -- CREATE TABLE IF NOT EXISTS `settings` ( `id` int(1) NOT NULL AUTO_INCREMENT, `name` varchar(255) CHARACTER SET utf8 NOT NULL, `title_home` varchar(255) CHARACTER SET utf8 NOT NULL, `tos` longtext CHARACTER SET utf8 NOT NULL, `api_rotation` tinyint(1) NOT NULL DEFAULT '0', `lr_account` varchar(255) NOT NULL, `lr_key` varchar(255) NOT NULL, `lr_store` varchar(255) NOT NULL, `pp_email` varchar(255) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -------------------------------------------------------- -- -- Table structure for table `shop_packages` -- CREATE TABLE IF NOT EXISTS `shop_packages` ( `id` int(255) NOT NULL AUTO_INCREMENT, `name` varchar(255) CHARACTER SET utf8 NOT NULL, `description` varchar(255) CHARACTER SET utf8 NOT NULL, `price` int(10) NOT NULL, `lifetime` tinyint(1) NOT NULL DEFAULT '0', `bootTime` int(255) NOT NULL, `concurrent` int(10) NOT NULL, `cooldown` int(255) NOT NULL DEFAULT '0', `weeks` int(10) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=55 ; -- -------------------------------------------------------- -- -- Table structure for table `stress_methods` -- CREATE TABLE IF NOT EXISTS `stress_methods` ( `id` int(255) NOT NULL AUTO_INCREMENT, `name` varchar(255) CHARACTER SET utf8 NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ; -- -------------------------------------------------------- -- -- Table structure for table `tickets` -- CREATE TABLE IF NOT EXISTS `tickets` ( `id` int(255) NOT NULL AUTO_INCREMENT, `user` int(255) NOT NULL, `userName` varchar(255) CHARACTER SET utf8 NOT NULL, `title` varchar(255) CHARACTER SET utf8 NOT NULL, `text` varchar(255) CHARACTER SET utf8 NOT NULL, `status` int(1) NOT NULL DEFAULT '2', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='status at 0: none. 1: message for user. 2: for admin' AUTO_INCREMENT=58 ; -- -------------------------------------------------------- -- -- Table structure for table `tickets_responses` -- CREATE TABLE IF NOT EXISTS `tickets_responses` ( `id` int(255) NOT NULL AUTO_INCREMENT, `ticket_id` int(255) NOT NULL, `user` int(255) NOT NULL, `user_name` varchar(255) NOT NULL, `user_admin` tinyint(1) NOT NULL DEFAULT '0', `text` longtext NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `ticket_id` (`ticket_id`,`user`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=69 ; -- -------------------------------------------------------- -- -- Table structure for table `tools_blacklist` -- CREATE TABLE IF NOT EXISTS `tools_blacklist` ( `id` int(255) NOT NULL AUTO_INCREMENT, `id_tool` int(255) NOT NULL, `data` varchar(255) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `id_tool` (`id_tool`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -------------------------------------------------------- -- -- Table structure for table `tools_list` -- CREATE TABLE IF NOT EXISTS `tools_list` ( `id` int(255) NOT NULL AUTO_INCREMENT, `name` varchar(255) CHARACTER SET utf8 NOT NULL, `link` varchar(255) CHARACTER SET utf8 NOT NULL, `data` varchar(255) CHARACTER SET utf8 NOT NULL, `type` varchar(20) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(20) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `user_level` int(1) NOT NULL DEFAULT '0', `status` int(1) NOT NULL DEFAULT '1', `last_login` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `bootTime` int(10) NOT NULL DEFAULT '0', `concurrent` int(3) NOT NULL DEFAULT '0', `cooldown` int(255) NOT NULL DEFAULT '0', `end_account` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `lifetime` tinyint(1) NOT NULL DEFAULT '0', `register_ip` varchar(255) NOT NULL, `last_ip` varchar(255) NOT NULL, `getip_link` varchar(255) NOT NULL DEFAULT 'http://www.google.com', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=931 ; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;