随笔分类 -  php

摘要:PHP addslashes() 函数 实例 在每个双引号(")前添加反斜杠: <?php $str = addslashes('Shanghai is the "biggest" city in China.'); echo($str); ?> 运行结果Shanghai is the \"bigg 阅读全文
posted @ 2022-04-18 11:42 limo亮少 阅读(80) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_43622525/article/details/123339432 搜索形注入:其实对于初学SQL注入,并不需要区分注入类型。但是要理解搜索形注入,首先需要理解SQL的搜索型语句,举个例子我们希望从 "limo_666" 表中选取居住在包含 阅读全文
posted @ 2022-04-18 11:14 limo亮少 阅读(90) 评论(0) 推荐(0)
摘要:这是未加固前的代码 1 <?php 2 /** 3 * Created by runner.han 4 * There is nothing new under the sun 5 */ 6 7 8 $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($ 阅读全文
posted @ 2022-04-18 10:55 limo亮少 阅读(124) 评论(0) 推荐(0)

​ ​ ​ ​
​ ​ ​
​ ​