-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataleakage.sql
181 lines (145 loc) · 4.76 KB
/
dataleakage.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
-- phpMyAdmin SQL Dump
-- version 3.3.9
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 26, 2015 at 11:26 PM
-- Server version: 5.5.8
-- PHP Version: 5.3.5
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!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: `dataleakage`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE IF NOT EXISTS `admin` (
`username` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`username`, `password`) VALUES
('admin', 'admin');
-- --------------------------------------------------------
--
-- Table structure for table `askkey`
--
CREATE TABLE IF NOT EXISTS `askkey` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`user` varchar(50) NOT NULL,
`filename` varchar(50) NOT NULL,
`status` varchar(50) NOT NULL,
`reciver` varchar(50) NOT NULL,
`k` varchar(38) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;
--
-- Dumping data for table `askkey`
--
INSERT INTO `askkey` (`id`, `user`, `filename`, `status`, `reciver`, `k`) VALUES
(17, 's', 'UY', 'yes', 'admin', 'as'),
(18, 'sam', 'web', 'yes', 'admin', '12345'),
(19, 'sam', 'UY', 'yes', 'admin', 'HG'),
(20, 'sam', 'UY', 'yes', 'admin', 'HG'),
(21, 'sam', 'afh', 'no', 'admin', ''),
(22, 'sam', 'article', 'no', 'admin', ''),
(23, 'sam', 'article', 'no', 'admin', ''),
(24, 'vi', 'UY', 'yes', 'admin', 'as');
-- --------------------------------------------------------
--
-- Table structure for table `leaker`
--
CREATE TABLE IF NOT EXISTS `leaker` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`time` date NOT NULL,
`probability` int(10),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ;
--
-- Dumping data for table `leaker`
--
INSERT INTO `leaker` (`id`, `name`, `time`,`probability`) VALUES
(12, 'dj', '0000-00-00',0),
(13, 'sam', '0000-00-00',0),
(14, 'sam', '0000-00-00',0),
(15, 'ka', '0000-00-00',0),
(16, 'vi', '0000-00-00',0),
(17, 'sam', '0000-00-00',0);
-- --------------------------------------------------------
--
-- Table structure for table `msg`
--
CREATE TABLE IF NOT EXISTS `msg` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`sender` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`reciver` varchar(50) NOT NULL,
`msg` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ;
--
-- Dumping data for table `msg`
--
INSERT INTO `msg` (`id`, `sender`, `email`, `reciver`, `msg`) VALUES
(3, 'aa', 'jhgnbn', 'rupesh', 'hi '),
(15, 'admin', 'jhg', 'aa', 'khk'),
(16, 'admin', 'uhu', 'mu', 'uhuhuh'),
(18, 'admin', '[email protected]', 'sam', 'y u leak my file,plz ask me key'),
(19, 'admin', '[email protected]', 'kk', 'u have leak my file');
-- --------------------------------------------------------
--
-- Table structure for table `presentation`
--
CREATE TABLE IF NOT EXISTS `presentation` (
`subject` varchar(50) NOT NULL,
`Topic` text NOT NULL,
`fname` varchar(100) NOT NULL,
`time` date NOT NULL,
`sendto` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `presentation`
--
INSERT INTO `presentation` (`subject`, `Topic`, `fname`, `time`, `sendto`) VALUES
('UY', 'as', 'Unfiled Notes.one', '2015-04-19', 'gh'),
('web', '12345', 'ketan.docx', '2015-04-08', 'mu'),
('afh', 'jj', 'CHAPTER 1-9.docx', '2015-04-06', ''),
('article', '12', 'dk.png', '2015-04-22', ''),
('art', '1', 'hemen.docx', '2015-04-26', ''),
('a', 'qq', 'front pages.docx', '0000-00-00', '');
-- --------------------------------------------------------
--
-- Table structure for table `register`
--
CREATE TABLE IF NOT EXISTS `register` (
`username` varchar(255) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
`userid` varchar(11) NOT NULL,
`password` varchar(255) NOT NULL,
`emailid` varchar(255) NOT NULL,
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `register`
--
INSERT INTO `register` (`username`, `userid`, `password`, `emailid`) VALUES
('ka', 'ka', 'ka', '[email protected]'),
('rupesh chaudhari', 'rupesh', '123', '[email protected]'),
('sam', 'sam', 'sam', '[email protected]'),
('sumeet', 's', 's', '[email protected]'),
('sumit', 'su', 'su', '[email protected]'),
('viraj', 'vi', 'vi', '[email protected]');
CREATE TABLE IF NOT EXISTS `record` (
`subject` varchar(50) NOT NULL ,
`topic` varchar(50) NOT NULL,
`sendto` varchar(50) NOT NULL,
`time` date NOT NULL,
`legal` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;