ctfshow-web入门-sql注入-web172

题目描述

查询语句
//拼接sql语句查找指定ID用户
$sql = "select username,password from ctfshow_user2 where username !='flag' and id = '".$_GET['id']."' limit 1;";
      
返回逻辑

//检查结果是否有flag
    if($row->

你可能感兴趣的:(ctfshow,SQL注入,sql,数据库)