源码
<?php
/*
# -*- coding: utf-8 -*-
# @Author: h1xa
# @Date: 2020-12-02 17:44:47
# @Last Modified by: h1xa
# @Last Modified time: 2020-12-02 19:29:02
# @email: h1xa@ctfer.com
# @link: https://ctfer.com
*/
error_reporting(0);
highlight_file(__FILE__);
include('flag.php');
class ctfShowUser{
public $username='xxxxxx';
public $password='xxxxxx';
public $isVip=false;
public function checkVip(){
return $this->isVip;
}
public function login($u,$p){
return $this->username===$u&&

本文详细介绍了CTF比赛中遇到的反序列化题目web255,重点在于利用PHP反序列化进行漏洞利用。通过分析源码和理解思路,成功解题并获取flag。后续作者计划补充更多关于PHP反序列化的技术笔记。

428

被折叠的 条评论
为什么被折叠?



