Update file E59.sql
This commit is contained in:
parent
2ee0fb3ccd
commit
a54a78bcae
@ -3,7 +3,7 @@
|
|||||||
-- https://www.phpmyadmin.net/
|
-- https://www.phpmyadmin.net/
|
||||||
--
|
--
|
||||||
-- Host: localhost
|
-- Host: localhost
|
||||||
-- Generation Time: Mar 09, 2024 at 03:55 PM
|
-- Generation Time: Mar 14, 2024 at 08:18 PM
|
||||||
-- Server version: 10.5.23-MariaDB-0+deb11u1
|
-- Server version: 10.5.23-MariaDB-0+deb11u1
|
||||||
-- PHP Version: 7.4.33
|
-- PHP Version: 7.4.33
|
||||||
|
|
||||||
@ -11,26 +11,49 @@ SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
SET time_zone = "+00:00";
|
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 utf8mb4 */;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Database: `E59`
|
-- Database: `E59`
|
||||||
--
|
--
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `articles`
|
-- Table structure for table `articles`
|
||||||
--
|
--
|
||||||
|
|
||||||
CREATE TABLE `articles` (
|
CREATE TABLE `articles` (
|
||||||
`ID` int(12) NOT NULL,
|
`ID` int(12) NOT NULL,
|
||||||
`titre` varchar(255) NOT NULL,
|
`title` varchar(255) NOT NULL,
|
||||||
`date` datetime NOT NULL DEFAULT current_timestamp(),
|
`date` datetime NOT NULL DEFAULT current_timestamp(),
|
||||||
`auteur` varchar(255) NOT NULL,
|
`author` int(12) NOT NULL,
|
||||||
`classification` int(12) NOT NULL
|
`classification` int(12) NOT NULL,
|
||||||
|
`miniature` varchar(255) DEFAULT NULL,
|
||||||
|
`resume` text DEFAULT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `articles`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `articles` (`ID`, `title`, `date`, `author`, `classification`, `miniature`, `resume`) VALUES
|
||||||
|
(1, 'Écrivons le futur !', '2024-03-07 09:32:00', 1, 0, 'https://e59.fr/src/miniature/736119.png', 'Après avoir discuté avec l\'administration de notre IUT, nous avons découvert la partie humaine qui assure sa gestion, avec laquelle nous avons eu le plaisir de sympathiser. '),
|
||||||
|
(2, 'SpyLab', '2024-03-07 19:15:00', 4, 0, 'https://e59.fr/src/miniature/770541.png', 'La plateforme de CTF SpyLab est displonible sur le gitlab de la E59.<br />\r\nCe projet a été mené dans le cadre de la SAE Pentest, un projet universitaire dirigé par Monsieur Guillemin.'),
|
||||||
|
(3, 'Réunion Association #1', '2024-03-07 21:53:16', 4, 3, 'https://e59.fr/src/miniature/669260.png', NULL),
|
||||||
|
(4, 'Changelog update 1.0', '2024-03-08 23:00:24', 4, 0, 'https://e59.fr/src/miniature/507872.png', 'Changelog de la mise à jour 1.0 de la plateforme e59.fr..'),
|
||||||
|
(5, 'Connaissez vous l\'attaque PCDoS ?', '2024-03-11 07:45:04', 4, 0, 'https://e59.fr/src/miniature/940304.png', 'Aussi connue sous le nom PCDoS (Plane Crash Denial of Service), cette faille est une faille 0day patchée grâce au plan vigipirate.'),
|
||||||
|
(6, 'Rapport Pentest (WDoS)', '2024-03-11 07:52:33', 7, 0, 'https://e59.fr/src/miniature/170243.png', 'Dans le cadre de notre évaluation de sécurité, nous avons réalisé une attaque de pentesting physique simulée sur les infrastructures réseau de l\'entreprise. '),
|
||||||
|
(7, 'Rapport d\'incident (PCDoS)', '2024-03-11 15:59:25', 7, 1, 'https://e59.fr/src/miniature/492819.png', 'Le présent rapport détaille un événement impliquant une tentative d\'attaque par déni de service distribué (DDoS) non conventionnelle et à grande échelle sur un centre de données.'),
|
||||||
|
(8, 'Invasion Volante', '2024-03-11 19:49:51', 4, 0, 'https://e59.fr/src/miniature/986241.png', 'Montmartre Assiégé par une Armada de Pigeons.'),
|
||||||
|
(9, 'Un avion s\'écrase sur l\'IUT !', '2024-03-12 08:11:11', 4, 0, 'https://e59.fr//src/miniature/108237.png', 'Ce matin, dans une tournure d\'événements tragique et inattendue, un avion s\'est écrasé sur l\'Institut Universitaire de Technologie (IUT) de Vélizy, ...'),
|
||||||
|
(10, 'Comment faire un 49.3 ?', '2024-03-12 12:39:50', 11, 0, 'https://e59.fr/src/miniature/464194.png', 'Dans ce tutoriel je vais te montrer comme faire un faire un 49.3. <br />\r\nTu pourras appliquer ce tutoriel pendant les travaux de groupe quand il faudra rétablir l\'ordre suprême !'),
|
||||||
|
(11, 'Changelog update 1.1', '2024-03-12 17:07:47', 4, 0, 'https://e59.fr/src/miniature/432767.png', 'Liste des changements suite à la mise à jour de la plateforme vers la version 1.1');
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
--
|
--
|
||||||
@ -42,22 +65,32 @@ CREATE TABLE `users` (
|
|||||||
`username` varchar(255) NOT NULL,
|
`username` varchar(255) NOT NULL,
|
||||||
`password` varchar(255) NOT NULL,
|
`password` varchar(255) NOT NULL,
|
||||||
`email` varchar(255) DEFAULT NULL,
|
`email` varchar(255) DEFAULT NULL,
|
||||||
`creation_date` datetime NOT NULL DEFAULT current_timestamp(),
|
`date` datetime NOT NULL DEFAULT current_timestamp(),
|
||||||
`display_name` varchar(255) DEFAULT 'Unnamed',
|
`display_name` varchar(255) DEFAULT 'Guest',
|
||||||
`role` int(12) NOT NULL,
|
`level` int(12) NOT NULL DEFAULT 0,
|
||||||
`accreditation` int(12) NOT NULL
|
`accreditation` int(12) NOT NULL DEFAULT 0,
|
||||||
|
`profile_picture` varchar(255) DEFAULT NULL,
|
||||||
|
`banner` varchar(255) DEFAULT '',
|
||||||
|
`bio` varchar(255) DEFAULT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `users`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `users` (`ID`, `username`, `password`, `email`, `date`, `display_name`, `level`, `accreditation`, `profile_picture`, `banner`, `bio`) VALUES
|
||||||
|
(1, 'admin', 'f290776df3fe2f6507f06bdbe048588b', 'bod@intra.e59.fr', '2024-03-07 19:42:01', 'Dieu', 3, 3, 'https://e59.fr/src/pp/1.png', 'https://e59.fr/src/banner/1.png', 'Que la lumière soit...'),
|
||||||
|
(4, 'jan', '57edb0f3104636a40e64ad178868a572', 'jan@intra.e59.fr', '2024-03-07 20:26:05', 'Jan BELLON', 3, 3, 'https://e59.fr//src/pp/4.png', 'https://e59.fr/src/banner/4.png', '❤️'),
|
||||||
|
(6, 'eliott', '3845d4aff76bfb44fe36442dc9fce0be', 'eliott@intra.e59.fr', '2024-03-10 23:39:07', 'Eliott', 3, 3, NULL, NULL, NULL),
|
||||||
|
(7, 'lucas', 'ff12405d3354d3af7ffffdb08474f9a1', 'lucas@intra.e59.fr', '2024-03-11 07:47:25', 'Trésorier', 3, 3, 'https://risibank.fr/cache/medias/0/24/2460/246030/full.png', 'https://images.pexels.com/photos/315938/pexels-photo-315938.jpeg', '\0Nous vivons dans une saucisse'),
|
||||||
|
(8, 'Orjawell', '53e284f44a4533d3c13198ab2d7d1685', 'akram@intra.e59.fr', '2024-03-11 07:48:25', 'Orjawell', 2, 2, NULL, NULL, NULL),
|
||||||
|
(10, 'neo', 'cb59608fced567a14b13a6e5c5c8a1d2', 'neo@neo', '2024-03-11 09:39:15', '\0neo', 1, 1, NULL, NULL, NULL),
|
||||||
|
(11, 'manu', '57edb0f3104636a40e64ad178868a572', 'manu@intra.e59.fr', '2024-03-12 12:19:57', '\0Emmanuel Macron', 2, 3, 'https://e59.fr/src/pp/11.png', 'https://e59.fr/src/banner/11.png', '\0Tais toi, ou je fais un 49.3.');
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Indexes for dumped tables
|
-- Indexes for dumped tables
|
||||||
--
|
--
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `admins`
|
|
||||||
--
|
|
||||||
ALTER TABLE `admins`
|
|
||||||
ADD PRIMARY KEY (`ID`);
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Indexes for table `articles`
|
-- Indexes for table `articles`
|
||||||
--
|
--
|
||||||
@ -75,14 +108,18 @@ ALTER TABLE `users`
|
|||||||
--
|
--
|
||||||
|
|
||||||
--
|
--
|
||||||
-- AUTO_INCREMENT for table `admins`
|
-- AUTO_INCREMENT for table `articles`
|
||||||
--
|
--
|
||||||
ALTER TABLE `admins`
|
ALTER TABLE `articles`
|
||||||
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
|
MODIFY `ID` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- AUTO_INCREMENT for table `users`
|
-- AUTO_INCREMENT for table `users`
|
||||||
--
|
--
|
||||||
ALTER TABLE `users`
|
ALTER TABLE `users`
|
||||||
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
|
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
|
/*!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 */;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user