当前位置:网站首页>About the SQL injection of davwa, errors are reported: analysis and verification of the causes of legal mix of settlements for operation 'Union'
About the SQL injection of davwa, errors are reported: analysis and verification of the causes of legal mix of settlements for operation 'Union'
2022-06-27 22:28:00 【dfzy$_$】
Project scenario :
It's going on dvwa During range injection , I found that there were some bug:Illegal mix of collations for operation ‘UNION’
After query and verification , This problem is solved and analyzed .
Cause analysis :
The reason why this happens , yes union Of fields at both ends collatie( Sort rule ) Different . namely dvwa Of first_name And last_name Character proofreading format and information_schema There was a conflict :


Solution :
We need to dvwa Modify the proofing rules in , Let it information In the same , I'll change it to utf8_general_ci:
alter table users modify first_name varchar(15) character set utf8 collate utf8_general_ci
alter table users modify last_name varchar(15) character set utf8 collate utf8_general_ci
alter table users modify user varchar(15) character set utf8 collate utf8_general_ci
alter table users modify password varchar(15) character set utf8 collate utf8_general_ci
here , That's it :

边栏推荐
- Codeforces Round #721 (Div. 2)
- [leetcode] dynamic programming solution partition array i[red fox]
- PCIe knowledge point -008: structure of PCIe switch
- Go from introduction to actual combat - execute only once (note)
- Acwing week 57 longest continuous subsequence - (binary or tree array)
- Read write separation master-slave replication of MySQL
- 对话乔心昱:用户是魏牌的产品经理,零焦虑定义豪华
- Gao fushuai in the unit testing industry, pytest framework, hands-on teaching, will do this in the future test reports~
- Macro task and micro task understanding
- Slow bear market, bit Store provides stable stacking products to help you cross the bull and bear
猜你喜欢

Codeforces Round #719 (Div. 3)

6G显卡显存不足出现CUDA Error:out of memory解决办法

真香,自从用了Charles,Fiddler已经被我彻底卸载了

Do280openshift access control -- Security Policy and chapter experiment
Conversion between flat array and JSON tree

Exclusive interview with millions of annual salary. What should developers do if they don't fix bugs?

Management system itclub (Part 1)

从学生到工程师的蜕变之路

Experience sharing of meituan 20K Software Test Engineers

二维数组中修改代价最小问题【转换题意+最短路径】(Dijkstra+01BFS)
随机推荐
二维数组中修改代价最小问题【转换题意+最短路径】(Dijkstra+01BFS)
Is flush stock trading software reliable?? Is it safe?
Go from introduction to actual combat - task cancellation (note)
Common problems encountered by burp Suite
How to open an account for agricultural futures? How much is the handling charge for opening an account for futures? Who can give you a preferential handling charge?
单元测试界的高富帅,Pytest框架,手把手教学,以后测试报告就这么做~
[LeetCode]100. Same tree
7 jours d'apprentissage de la programmation simultanée go 7 jours de programmation simultanée go Language Atomic Atomic Atomic actual Operation contains ABA Problems
不外泄的测试用例设计秘籍--模块测试
6G显卡显存不足出现CUDA Error:out of memory解决办法
mysql 大于 小于 等于符号的表示方法
渗透学习-靶场篇-pikachu靶场详细攻略(持续更新中-目前只更新sql注入部分)
Interview question 3 of software test commonly used by large factories (with answers)
\w和[A-Za-z0-9_],\d和[0-9]等价吗?
登录凭证(cookie+session和Token令牌)
Typescript learning
爬虫笔记(1)- urllib
[LeetCode]161. Edit distance of 1
Test birds with an annual salary of 50w+ are using this: JMeter script development -- extension function
Windwos 8.1系统安装vmware tool插件报错的解决方法