摘要: 同一个触发事件里面有2个email,第一个email里面有附件$this->email->attach($file); 此时第二个email里面会自动带上前面的附件$file解决方案:$this->email->clear(TRUE);//如果将参数设为TRUE,附件也会被清空: $this->em 阅读全文
posted @ 2022-07-19 15:33 lenlewan 阅读(43) 评论(0) 推荐(0)
摘要: 对于SQL注入: 用addslashes()函数 eg:TP'orselect*from(select SLEEP(5))a 如果不处理会延时 对于XSS payload 用htmlspecialchars()函数 eg:lgmstestsqli17;;;\"}><svg onload=alert( 阅读全文
posted @ 2022-07-19 15:27 lenlewan 阅读(270) 评论(0) 推荐(0)