SHOW WARNINGS; -- -- Table structure for table `articles` -- CREATE TABLE IF NOT EXISTS `articles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `content` longtext, `date_posted` datetime NOT NULL, `created_by` varchar(255) NOT NULL, `last_modified` datetime DEFAULT NULL, `last_modified_by` varchar(255) DEFAULT NULL, `ordering` int(10) DEFAULT '0', `is_published` int(1) DEFAULT '1', PRIMARY KEY (`id`) ); -- -- Dumping data for table `articles` -- INSERT INTO `articles` (`title`, `content`, `date_posted`, `created_by`, `last_modified`, `last_modified_by`, `ordering`, `is_published`) VALUES ('Welcome', '
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed interdum, felis ac pellentesque feugiat, massa enim sagittis elit, sed dignissim sem ligula non nisl. Sed pulvinar nunc nec eros aliquet non tempus diam vehicula. Nunc tincidunt, leo ut interdum tristique, quam ligula porttitor tellus, at tincidunt magna enim nec arcu. Nunc tempor egestas libero. Vivamus nulla ligula, vehicula vitae mattis quis, laoreet eget urna. Proin eget est quis urna venenatis dictum nec vel lectus. Nullam sit amet vehicula leo. Sed commodo, orci vitae facilisis accumsan, arcu justo sagittis risus, quis aliquet purus neque eu odio. Mauris lectus orci, tincidunt in varius quis, dictum sed nibh. Quisque dapibus mollis blandit. Donec vel tellus nisl, sed scelerisque felis. Praesent ut eros tortor, sed molestie nunc. Duis eu massa at justo iaculis gravida.
\r\nIn adipiscing dictum risus a tincidunt. Sed nisi ipsum, rutrum sed ornare in, bibendum at augue. Integer ornare semper varius. Integer luctus vehicula elementum. Donec cursus elit quis erat laoreet elementum. Praesent eget justo purus, vitae accumsan massa. Ut tristique, mauris non dignissim luctus, velit justo sollicitudin odio, vel rutrum purus enim eu felis. In adipiscing elementum sagittis. Nam sed dui ante. Nunc laoreet hendrerit nisl vitae porta. Praesent sit amet ligula et nisi vulputate volutpat. Maecenas venenatis iaculis sapien sit amet auctor. Curabitur euismod venenatis velit non tempor. Cras vel sapien purus, mollis fermentum nulla. Mauris sed elementum enim. Donec ultrices urna at justo adipiscing rutrum.
', '2012-08-09 01:19:59', 'admin',NULL, NULL, 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `challenges` -- CREATE TABLE IF NOT EXISTS `challenges` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `pkg_name` varchar(255) NOT NULL, `description` text, `author` varchar(255) NOT NULL, `category` varchar(255) NOT NULL, `date_posted` datetime NOT NULL, `visibility` varchar(255) DEFAULT 'private', `publish` int(10) DEFAULT '0', `abstract` varchar(255) DEFAULT NULL, `level` varchar(255) DEFAULT NULL, `duration` int(11) DEFAULT NULL, `goal` varchar(255) DEFAULT NULL, `solution` varchar(255) DEFAULT NULL, `availability` varchar(255) DEFAULT 'private', `default_points` int(11) DEFAULT NULL, `default_duration` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ); -- -- Dumping data for table `challenges` -- INSERT INTO `challenges` (`title`, `pkg_name`, `description`, `author`, `category`, `date_posted`, `visibility`, `publish`, `abstract`, `level`, `duration`, `goal`, `solution`, `availability`, `default_points`, `default_duration`) VALUES ('Challenge 1', 'ch001', 'Our agents (hackers) informed us that there reasonable suspicion \r\nthat the site of this Logistics Company is a blind \r\nfor a human organs'' smuggling organisation.Insert some text describing the scenario of the challenge(what the users are supposed to do and if there is any fictional story)
', 'Name or email or both', 'In what category does your challenge belong?(web? crypto? networks?)', '2012-10-16 22:35:01', 'private', 0, NULL, '1', 60, NULL, NULL, 'private', 1, 0), ('cookiEng', 'cookiEng', 'Hello, we have heard that you are one of the best hackers in our country. We need your services.
You must visit an underground site and find
the right password. With this password we will cancel 100k+ illegal gun and drug deals!\n The good news are that we have the directory where the password is stored. Its here \\\"/t0psec.php\\\".\n The bad news are that we have no access there. Only the administrator does. Go and find the password for us!
Good luck!
After the mysterious disappearance of your best friend, you are contacted by an unknown individual who claims to have information about your friend. This individual identifies himself as \"Mister Jax\" and claims that is a former colleague of your friend.
Your friend was working at Izon Corporation, a weapons manufactured and government contractor as a systems engineer. Mister Jax didn\'t tell you his role in Izon, but wants you to pass through a series of tests to infiltrate Izon\'s web security to find the truth about your friend
After much consideration you agree with Mister Jax and he, remotely, sets up your computer to look like as if it is a part of Izon\'s Virtual Private Network in order to access their site. He also said that he\'ll guide you while you work your way to uncover the truth about your lost friend
Here is a copy of Mister Jax\'s last email:
The task is simple: You get in, get your information and get out.\r\nYour friend was either a dumb programmer or a brilliant one, he left\r\nmany holes to be exploited in order to gain higher access to the site.\r\nI\'ll be guiding you with tips while you try to hack through Izon\'s site.\r\nThere are four tasks, some related to each other, some not.\r\nYou need to use your skills to overcome the obstacles, knowledge will come along.\r\nSixty minutes will suffice. When they\'re over, I won\'t be able to offer any\r\ncover to you, and you\'ll be compromised, with unknown consequences, I\'m afraid.\r\nI\'ll be seeing you there.\r\n\r\ - Jax
Once you get in, you\'ll have sixty minutes to complete this challenge. Use common sense, remember that the most obvious place hides the most important stuff and try to behave as if you were hacking a real system.
Good Luck!
', 'Vasileios Mplanas', 'web', '2014-03-27 00:00:00', 'public', 1, NULL, '1', 60, NULL, NULL, 'public', 10, 60); -- -------------------------------------------------------- -- -- Table structure for table `challenge_attempts` -- CREATE TABLE IF NOT EXISTS `challenge_attempts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `challenge_id` int(11) NOT NULL, `time` datetime NOT NULL, `status` varchar(255) NOT NULL, PRIMARY KEY (`id`) ); -- -------------------------------------------------------- -- -- Table structure for table `challenge_attempt_count` -- CREATE TABLE IF NOT EXISTS `challenge_attempt_count` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `challenge_id` int(11) NOT NULL, `tries` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `user_id` (`user_id`), UNIQUE KEY `challenge_id` (`challenge_id`) ); -- -------------------------------------------------------- -- -- Table structure for table `classes` -- CREATE TABLE IF NOT EXISTS `classes` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `date_created` datetime NOT NULL, `archive` int(1) DEFAULT '0', PRIMARY KEY (`id`) ); -- -- Dumping data for table `classes` -- INSERT INTO `classes` (`name`, `date_created`, `archive`) VALUES ('Sample Class', '2012-08-09 00:43:48', 0), ('fooClass', '2012-10-16 22:32:43', 0); -- -------------------------------------------------------- -- -- Table structure for table `class_challenges` -- CREATE TABLE IF NOT EXISTS `class_challenges` ( `id` int(11) NOT NULL AUTO_INCREMENT, `challenge_id` int(11) NOT NULL, `class_id` int(11) NOT NULL, `date_created` datetime NOT NULL, PRIMARY KEY (`id`) ); -- -- Dumping data for table `class_challenges` -- INSERT INTO `class_challenges` (`challenge_id`, `class_id`, `date_created`) VALUES (1, 1, '2012-08-09 01:01:07'), (2, 1, '2012-08-09 01:01:07'), (3, 1, '2012-08-09 01:01:07'), (4, 1, '2012-08-09 01:01:07'), (5, 1, '2012-08-09 01:01:07'), (6, 1, '2012-08-09 01:01:07'), (7, 1, '2012-08-09 01:01:07'), (9, 1, '2012-08-09 01:01:07'), (10, 1, '2012-08-09 01:01:07'), (1, 2, '2012-10-16 22:32:49'), (4, 2, '2012-10-16 22:32:52'), (9, 2, '2012-10-16 22:32:53'), (10, 2, '2012-10-16 22:32:55'), (8, 2, '2012-10-16 22:32:58'); -- -------------------------------------------------------- -- -- Table structure for table `class_memberships` -- CREATE TABLE IF NOT EXISTS `class_memberships` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `class_id` int(11) NOT NULL, `date_created` datetime NOT NULL, PRIMARY KEY (`user_id`,`class_id`), UNIQUE KEY `id` (`id`) ); -- -- Dumping data for table `class_memberships` -- INSERT INTO `class_memberships` (`user_id`, `class_id`, `date_created`) VALUES ( 1, 1, '2012-08-09 00:59:00'), ( 2, 1, '2012-08-09 00:59:00'), ( 3, 1, '2012-08-09 00:59:00'), ( 4, 2, '2012-10-16 22:33:07'), ( 5, 2, '2012-10-16 22:33:13'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `full_name` varchar(255) NOT NULL, `email` varchar(100) NOT NULL, `password` varchar(255) NOT NULL, `joined` datetime NOT NULL, `last_visit` datetime DEFAULT NULL, `is_activated` int(1) DEFAULT '0', `type` int(10) DEFAULT '0', `token` int(10) DEFAULT '0', PRIMARY KEY (`username`), UNIQUE KEY `id` (`id`) ); -- -- Dumping data for table `users` -- INSERT INTO `users` (`username`, `full_name`, `email`, `password`, `joined`, `last_visit`, `is_activated`, `type`, `token`) VALUES ('bar', 'mr. bar', 'bar@owasp.com', '$P$BJ8UtXZYqS/Lokm8zFMwcxO8dq797P.', '2012-10-16 22:12:52', '2012-10-16 22:22:39', 0, 0, 0), ('foo', 'mr. foo', 'foo@owasp.com', '$P$BxCHeVG1RMF06UxwRbrVQtPA1yOwAq.', '2012-10-16 22:12:34', '2012-10-16 22:59:29', 0, 0, 0), ('sensei', 'waspy sifu', 'waspy@owasp.sifu', '$P$Bj/JtLJJR3bUD0LLWXL2UW9DuRVo0I.', '2012-10-16 22:36:06', '2012-10-16 22:37:04', 1, 2, 0); -- -- Table structure for table `user_has_challenge_token` -- DROP TABLE IF EXISTS `user_has_challenge_token`; CREATE TABLE IF NOT EXISTS `user_has_challenge_token` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` varchar(512) NOT NULL, `challenge_id` varchar(512) NOT NULL, `token` varchar(256) NOT NULL, PRIMARY KEY (`id`) ); SHOW WARNINGS;