Kulyutmaz is a project developed for the regional TUBITAK competition's programming field thart aims to create a more advanced phishing e-mail detection algorithm using website content checking and a neural network that we have trained.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

189 lines
7.8 KiB

4 years ago
  1. -- MariaDB dump 10.17 Distrib 10.4.11-MariaDB, for Linux (x86_64)
  2. --
  3. -- Host: localhost Database: kulyutmaz_db
  4. -- ------------------------------------------------------
  5. -- Server version 10.4.11-MariaDB
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8mb4 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `domain_blacklist`
  18. --
  19. DROP TABLE IF EXISTS `domain_blacklist`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `domain_blacklist` (
  23. `id` int(11) NOT NULL AUTO_INCREMENT,
  24. `domain` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  25. PRIMARY KEY (`id`)
  26. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  27. /*!40101 SET character_set_client = @saved_cs_client */;
  28. --
  29. -- Dumping data for table `domain_blacklist`
  30. --
  31. LOCK TABLES `domain_blacklist` WRITE;
  32. /*!40000 ALTER TABLE `domain_blacklist` DISABLE KEYS */;
  33. INSERT INTO `domain_blacklist` VALUES (1,'malicious-domain.xyz'),(2,'mail.kulyutmaz.com'),(7,'mail.kulyutmaz.com'),(8,'unittest.malicious.com'),(9,'test.malicious.com'),(10,'mal.malicious.com');
  34. /*!40000 ALTER TABLE `domain_blacklist` ENABLE KEYS */;
  35. UNLOCK TABLES;
  36. --
  37. -- Table structure for table `domain_whitelist`
  38. --
  39. DROP TABLE IF EXISTS `domain_whitelist`;
  40. /*!40101 SET @saved_cs_client = @@character_set_client */;
  41. /*!40101 SET character_set_client = utf8 */;
  42. CREATE TABLE `domain_whitelist` (
  43. `domain` varchar(69) COLLATE utf8mb4_unicode_ci DEFAULT NULL
  44. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  45. /*!40101 SET character_set_client = @saved_cs_client */;
  46. --
  47. -- Dumping data for table `domain_whitelist`
  48. --
  49. LOCK TABLES `domain_whitelist` WRITE;
  50. /*!40000 ALTER TABLE `domain_whitelist` DISABLE KEYS */;
  51. /*!40000 ALTER TABLE `domain_whitelist` ENABLE KEYS */;
  52. UNLOCK TABLES;
  53. --
  54. -- Table structure for table `logs`
  55. --
  56. DROP TABLE IF EXISTS `logs`;
  57. /*!40101 SET @saved_cs_client = @@character_set_client */;
  58. /*!40101 SET character_set_client = utf8 */;
  59. CREATE TABLE `logs` (
  60. `timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  61. `sender_domain` tinytext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  62. `result` int(11) DEFAULT NULL,
  63. `account` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  64. `mail_id` int(11) DEFAULT NULL
  65. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  66. /*!40101 SET character_set_client = @saved_cs_client */;
  67. --
  68. -- Dumping data for table `logs`
  69. --
  70. LOCK TABLES `logs` WRITE;
  71. /*!40000 ALTER TABLE `logs` DISABLE KEYS */;
  72. INSERT INTO `logs` VALUES ('2020-01-16 16:30:20','yigitcolakoglu@hotmail.com',-1,'ycolakoglu.bilisim@gmail.com',400),('2020-01-16 16:30:24','no-reply@accounts.google.com',1,'ycolakoglu.bilisim@gmail.com',399),('2020-01-16 16:30:29','no-reply@accounts.google.com',1,'ycolakoglu.bilisim@gmail.com',398),('2020-01-16 16:30:36','no-reply@accounts.google.com',1,'ycolakoglu.bilisim@gmail.com',397),('2020-01-16 16:30:38','no-reply@accounts.google.com',1,'ycolakoglu.bilisim@gmail.com',396),('2020-01-16 16:30:40','no-reply@accounts.google.com',1,'ycolakoglu.bilisim@gmail.com',395),('2020-01-16 19:31:50','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',402),('2020-01-16 19:31:50','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',401),('2020-01-16 19:41:59','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',403),('2020-01-16 19:44:19','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',404),('2020-01-16 19:56:26','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',406),('2020-01-16 19:56:27','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',405),('2020-01-16 20:00:07','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',407),('2020-01-16 20:00:28','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',408),('2020-01-16 20:03:47','yigitcolakoglu@hotmail.com',1,'ycolakoglu.bilisim@gmail.com',409);
  73. /*!40000 ALTER TABLE `logs` ENABLE KEYS */;
  74. UNLOCK TABLES;
  75. --
  76. -- Table structure for table `mail_blacklist`
  77. --
  78. DROP TABLE IF EXISTS `mail_blacklist`;
  79. /*!40101 SET @saved_cs_client = @@character_set_client */;
  80. /*!40101 SET character_set_client = utf8 */;
  81. CREATE TABLE `mail_blacklist` (
  82. `id` int(11) NOT NULL AUTO_INCREMENT,
  83. `mail` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  84. PRIMARY KEY (`id`)
  85. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  86. /*!40101 SET character_set_client = @saved_cs_client */;
  87. --
  88. -- Dumping data for table `mail_blacklist`
  89. --
  90. LOCK TABLES `mail_blacklist` WRITE;
  91. /*!40000 ALTER TABLE `mail_blacklist` DISABLE KEYS */;
  92. INSERT INTO `mail_blacklist` VALUES (1,'malicious-domain.xyz'),(2,'malicious-domain.xyz'),(3,'unittester@malicious.com'),(4,'test@malicious.com'),(5,'mal@malicious.com'),(6,'test@testmail.com'),(7,'yigitcolakoglu@hotmail.com');
  93. /*!40000 ALTER TABLE `mail_blacklist` ENABLE KEYS */;
  94. UNLOCK TABLES;
  95. --
  96. -- Table structure for table `mail_whitelist`
  97. --
  98. DROP TABLE IF EXISTS `mail_whitelist`;
  99. /*!40101 SET @saved_cs_client = @@character_set_client */;
  100. /*!40101 SET character_set_client = utf8 */;
  101. CREATE TABLE `mail_whitelist` (
  102. `mail` varchar(69) COLLATE utf8mb4_unicode_ci DEFAULT NULL
  103. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  104. /*!40101 SET character_set_client = @saved_cs_client */;
  105. --
  106. -- Dumping data for table `mail_whitelist`
  107. --
  108. LOCK TABLES `mail_whitelist` WRITE;
  109. /*!40000 ALTER TABLE `mail_whitelist` DISABLE KEYS */;
  110. /*!40000 ALTER TABLE `mail_whitelist` ENABLE KEYS */;
  111. UNLOCK TABLES;
  112. --
  113. -- Table structure for table `whitelist_domain`
  114. --
  115. DROP TABLE IF EXISTS `whitelist_domain`;
  116. /*!40101 SET @saved_cs_client = @@character_set_client */;
  117. /*!40101 SET character_set_client = utf8 */;
  118. CREATE TABLE `whitelist_domain` (
  119. `id` int(6) unsigned NOT NULL AUTO_INCREMENT,
  120. `domain` varchar(420) COLLATE utf8mb4_unicode_ci NOT NULL,
  121. PRIMARY KEY (`id`)
  122. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  123. /*!40101 SET character_set_client = @saved_cs_client */;
  124. --
  125. -- Dumping data for table `whitelist_domain`
  126. --
  127. LOCK TABLES `whitelist_domain` WRITE;
  128. /*!40000 ALTER TABLE `whitelist_domain` DISABLE KEYS */;
  129. /*!40000 ALTER TABLE `whitelist_domain` ENABLE KEYS */;
  130. UNLOCK TABLES;
  131. --
  132. -- Table structure for table `whitelist_mail`
  133. --
  134. DROP TABLE IF EXISTS `whitelist_mail`;
  135. /*!40101 SET @saved_cs_client = @@character_set_client */;
  136. /*!40101 SET character_set_client = utf8 */;
  137. CREATE TABLE `whitelist_mail` (
  138. `id` int(6) unsigned NOT NULL AUTO_INCREMENT,
  139. `mail` varchar(420) COLLATE utf8mb4_unicode_ci NOT NULL,
  140. PRIMARY KEY (`id`)
  141. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  142. /*!40101 SET character_set_client = @saved_cs_client */;
  143. --
  144. -- Dumping data for table `whitelist_mail`
  145. --
  146. LOCK TABLES `whitelist_mail` WRITE;
  147. /*!40000 ALTER TABLE `whitelist_mail` DISABLE KEYS */;
  148. /*!40000 ALTER TABLE `whitelist_mail` ENABLE KEYS */;
  149. UNLOCK TABLES;
  150. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  151. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  152. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  153. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  154. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  155. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  156. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  157. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  158. -- Dump completed on 2020-01-16 23:05:54