-
Notifications
You must be signed in to change notification settings - Fork 0
/
thincaptcha.sql
106 lines (85 loc) · 2.95 KB
/
thincaptcha.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
-- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Feb 29, 2020 at 01:52 PM
-- Server version: 10.1.44-MariaDB-0ubuntu0.18.04.1
-- PHP Version: 7.4.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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: `thincaptcha`
--
-- --------------------------------------------------------
--
-- Table structure for table `app`
--
CREATE TABLE `app` (
`id` bigint(50) NOT NULL,
`publicKey` varchar(100) NOT NULL,
`token` varchar(100) NOT NULL,
`datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `app`
--
INSERT INTO `app` (`id`, `publicKey`, `token`, `datetime`) VALUES
(1, 'x1x1x1x1x1x1', 'd4f5g6df4gd5f6ge4r89rf48', '2020-02-29 12:33:57');
-- --------------------------------------------------------
--
-- Table structure for table `captcha`
--
CREATE TABLE `captcha` (
`id` bigint(50) NOT NULL,
`code` varchar(10) NOT NULL,
`datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`userAgent` text NOT NULL,
`referer` text,
`ip` varchar(100) NOT NULL,
`token` varchar(100) NOT NULL,
`codes` varchar(100) NOT NULL,
`hasUse` int(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `captcha`
--
INSERT INTO `captcha` (`id`, `code`, `datetime`, `userAgent`, `referer`, `ip`, `token`, `codes`, `hasUse`) VALUES
(78, '7636', '2020-02-29 13:41:23', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/80.0.3987.87 Chrome/80.0.3987.87 Safari/537.36', NULL, '::1', 'tglu9ph4mssfdvt5s8hal3rggcvdy9nfintbpsn829vhpq9lmc', 'klk8gab4tkcmemvk1dj7tzsskh4xw3rf2153l1he9l92o9bgfa', 0),
(79, '1865', '2020-02-29 13:43:16', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/80.0.3987.87 Chrome/80.0.3987.87 Safari/537.36', NULL, '::1', 'v5kwptkonflshwl1nwppsgduinzehiz7gwk3gu3g8zb36j37ih', '4sehryr00z8vgidko05zniqsv7qo3ie8im7bxw7dn9ih3wy1x0', 0);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `app`
--
ALTER TABLE `app`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `captcha`
--
ALTER TABLE `captcha`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `app`
--
ALTER TABLE `app`
MODIFY `id` bigint(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `captcha`
--
ALTER TABLE `captcha`
MODIFY `id` bigint(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=80;
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 */;