摘要: 一、代码 <?php error_reporting(0); highlight_file(__FILE__); include('flag.php'); class ctfShowUser{ public $username='xxxxxx'; public $password='xxxxxx'; 阅读全文
posted @ 2023-02-01 14:45 LuckMeteor 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 一、源码 <?php error_reporting(0); highlight_file(__FILE__); include('flag.php'); class ctfShowUser{ public $username='xxxxxx'; public $password='xxxxxx'; 阅读全文
posted @ 2023-02-01 14:37 LuckMeteor 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 一、源码 <?php error_reporting(0); highlight_file(__FILE__); include('flag.php'); class ctfShowUser{ public $username='xxxxxx'; public $password='xxxxxx'; 阅读全文
posted @ 2023-02-01 14:28 LuckMeteor 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 这几天在学习PHP反序列化,在遇到魔法函数的时候总忘记作用,因此在这里记录一下。 | 方法名称 | 作用 | | | | | __construct() | 构造函数:具有构造函数的类会在每次创建新对象时先调用此方法。 | | __destruct() | 析构函数:析构函数会在到某个对象的所有引用 阅读全文
posted @ 2022-09-30 10:07 LuckMeteor 阅读(209) 评论(0) 推荐(0) 编辑
摘要: import base64 s = "暖星东" //加密 bs = base64.b64encode(s.encode("utf-8")) print(bs) //解密 s = str(base64.b64decode(bs),"utf-8") print(s) 阅读全文
posted @ 2022-09-19 09:34 LuckMeteor 阅读(18) 评论(0) 推荐(0) 编辑