题目已经提示了是SQli,题目是一个登陆界面,需要用户输入用户名和密码进行登陆。 首先我们可以看到返回密码错误的页面源码里有一串字符串,我们先用base32再用base64解密之后发现是mysql查询规则 select * from user where username = '$name' 进行常 ...
分类:
数据库 时间:
2020-07-05 13:45:40
阅读次数:
123
在一对一映射中,将User和Role的假设成为一对一映射关系。但在实际场景中,一个User往往同时可以拥有很多角色,在以下内容将上一篇内容稍作修改,来说明一对多映射(collection)的使用。 首先,将User类中的role属性修改为集合形式,并将UserMapper.xml中的userRole ...
分类:
其他好文 时间:
2020-07-05 13:40:21
阅读次数:
44
1.卸载系统自带的MySQL rpm -qa|grep mysql rpm -e --nodeps *mysql* rpm -qa|grep mariadb rpm -e --nodeps mariadb 2.安装MySQL8.0 wget https://cdn.mysql.com/archive ...
分类:
数据库 时间:
2020-07-05 13:32:08
阅读次数:
88
数据结构B+树 从上面的图中可以看出来: 1.B+树的叶子节点包含了所有的数据; 2.叶子节点可以直接访问其他叶子节点(双向指针),不需要回到根节点(或者上一层); InnoDB的B+树 叶子节点保存的页数据,InnoDB的数据页结构如下图所示: B+树的所有数据节点都是在叶子节点上(叶子节点包含了 ...
分类:
数据库 时间:
2020-07-05 00:48:43
阅读次数:
75
(1)安装GitBash https://gitforwindows.org/ (2)安装node.js https://nodejs.org/en/download/ (3)打开GitBash输入命令 node -v 查询node.js是否安装成功 npm -v 查询npm是否安装成功(NPM是随 ...
分类:
其他好文 时间:
2020-07-05 00:41:48
阅读次数:
69
启动MySQL mysqld --defaults-file=/etc/my.cnf --user=mysql & mysqld_safe --defaults-file=/etc/my.cnf --user=mysql & service mysql start # systemctl start ...
分类:
数据库 时间:
2020-07-05 00:39:21
阅读次数:
149
Introduction In LTE the Downlink Shared Channel (DL-SCH) is a transport channel used for the transmission of user data, dedicated control and user-spe ...
分类:
其他好文 时间:
2020-07-05 00:30:22
阅读次数:
93
安装 git --version 初始化配置 git config --global user.name "damu" git config --global user.email damu@example.com git config --list 初始化仓库 git init C(新增) 在工作 ...
分类:
其他好文 时间:
2020-07-04 22:48:04
阅读次数:
78
import urllib.request; from bs4 import BeautifulSoup; response = urllib.request.urlopen("file:///C:/Users/junwei_zhou/Desktop/502/6.1/html.html"); htm ...
分类:
Web程序 时间:
2020-07-04 22:31:21
阅读次数:
78
所需要库:thinter,python3自带 代码: from tkinter import * import re import requests def input1(): link = str(inp1.get()) headers = {'user-agent': 'Mozilla/5.0 ...
分类:
编程语言 时间:
2020-07-04 21:01:20
阅读次数:
124